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 @@ -2186,6 +2186,8 @@ def download_export(
21862186 for _ in use_case .execute ():
21872187 continue
21882188 logger .info (use_case .response .data )
2189+ else :
2190+ raise AppException (use_case .response .errors )
21892191
21902192
21912193@Trackable
Original file line number Diff line number Diff line change @@ -4031,12 +4031,6 @@ def __init__(
40314031 self ._to_s3_bucket = to_s3_bucket
40324032 self ._temp_dir = None
40334033
4034- def validate_project_type (self ):
4035- if self ._project .project_type in constances .LIMITED_FUNCTIONS :
4036- raise AppValidationException (
4037- constances .LIMITED_FUNCTIONS [self ._project .project_type ]
4038- )
4039-
40404034 def upload_to_s3_from_folder (self , folder_path : str ):
40414035 to_s3_bucket = boto3 .Session ().resource ("s3" ).Bucket (self ._to_s3_bucket )
40424036 files_to_upload = list (Path (folder_path ).rglob ("*.*" ))
You can’t perform that action at this time.
0 commit comments