File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2194,6 +2194,8 @@ def download_export(
21942194 for _ in use_case .execute ():
21952195 continue
21962196 logger .info (use_case .response .data )
2197+ else :
2198+ raise AppException (use_case .response .errors )
21972199
21982200
21992201@Trackable
Original file line number Diff line number Diff line change @@ -4059,12 +4059,6 @@ def __init__(
40594059 self ._to_s3_bucket = to_s3_bucket
40604060 self ._temp_dir = None
40614061
4062- def validate_project_type (self ):
4063- if self ._project .project_type in constances .LIMITED_FUNCTIONS :
4064- raise AppValidationException (
4065- constances .LIMITED_FUNCTIONS [self ._project .project_type ]
4066- )
4067-
40684062 def upload_to_s3_from_folder (self , folder_path : str ):
40694063 to_s3_bucket = boto3 .Session ().resource ("s3" ).Bucket (self ._to_s3_bucket )
40704064 files_to_upload = list (Path (folder_path ).rglob ("*.*" ))
You can’t perform that action at this time.
0 commit comments