From dafa5a85fa37bd2fe71c5cfa66cffa19ad76994f Mon Sep 17 00:00:00 2001 From: Caden <132690522+marofke@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:33:55 -0500 Subject: [PATCH] fix: catch on correct exception type if downloading with no outputs (#278) Signed-off-by: Caden Marofke --- src/deadline/job_attachments/download.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/deadline/job_attachments/download.py b/src/deadline/job_attachments/download.py index 8050e0de..83db330d 100644 --- a/src/deadline/job_attachments/download.py +++ b/src/deadline/job_attachments/download.py @@ -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