Source S3: keep processing but warn if OSError happen - #21604
Source S3: keep processing but warn if OSError happen#21604Roman Yermilov [GL] (roman-yermilov-gl) merged 3 commits into
Conversation
|
/test connector=connectors/source-s3
Build PassedTest summary info: |
| self.logger.warn(f"We don't have access to {self.url}. " | ||
| f"Check whether key {self.url} exists in `{bucket}` bucket and/or has proper ACL permissions") | ||
| raise e |
There was a problem hiding this comment.
Does this produce an AirbyteTraceError message? Just logging to stdout won't help users learn what to do
There was a problem hiding this comment.
cc Brian Lai (@brianjlai) maybe you recall the answer - does throwing an exception here end up making a useable AirbyteTraceErrorMessage?
There was a problem hiding this comment.
It does. But in this case I catch it in two possible places where it can be raised and handle it
There was a problem hiding this comment.
Ok, this matches the philosophy that Ella Rohm-Ensing (@erohmensing) is working on with streams being unavailable - we sync what we can and log an error for the streams we can't reach. 👍
|
/publish connector=connectors/source-s3
if you have connectors that successfully published but failed definition generation, follow step 4 here |
Airbyte Code Coverage
|
What
Handle OSError which means no access to key in a bucket. Warn and keep working on another files which we have an access to