Skip to content

Commit

Permalink
fix: catch on correct exception type if downloading with no outputs (#…
Browse files Browse the repository at this point in the history
…278)

Signed-off-by: Caden Marofke <[email protected]>
  • Loading branch information
marofke authored Apr 2, 2024
1 parent 7b66ee9 commit dafa5a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/deadline/job_attachments/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def _get_tasks_manifests_keys_from_s3(
action="listing bucket contents",
error_details=str(bce),
) from bce
except JobAttachmentsError:
raise # pass along JobAttachmentsErrors if we get them
except Exception as e:
raise AssetSyncError from e

Expand Down

0 comments on commit dafa5a8

Please sign in to comment.