Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,13 @@ def conn_config(self) -> AwsConnectionWrapper:
self.log.warning(
"Unable to find AWS Connection ID '%s', switching to empty.", self.aws_conn_id
)

# In the TaskSDK's BaseHook, it only retrieves the connection via task-sdk. Since the AWS system testing infrastructure
# doesn't use task-sdk, this leads to an error which we handle below.
except ImportError as e:
if "SUPERVISOR_COMMS" in str(e):
self.log.exception(e)
else:
raise
return AwsConnectionWrapper(
conn=connection,
region_name=self._region_name,
Expand Down
Loading