-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destination GCS: Fix error logs to log 'Gcs' rather than 'AWS' #17901
Changes from all commits
108294f
1193203
eface1a
be62c85
80561a3
d7bc6ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -57,14 +57,14 @@ public AirbyteConnectionStatus check(final JsonNode config) { | |||||
|
||||||
return new AirbyteConnectionStatus().withStatus(Status.SUCCEEDED); | ||||||
} catch (final AmazonS3Exception e) { | ||||||
LOGGER.error("Exception attempting to access the AWS bucket: {}", e.getMessage()); | ||||||
LOGGER.error("Exception attempting to access the Gcs bucket: {}", e.getMessage()); | ||||||
final String message = getErrorMessage(e.getErrorCode(), 0, e.getMessage(), e); | ||||||
AirbyteTraceMessageUtility.emitConfigErrorTrace(e, message); | ||||||
return new AirbyteConnectionStatus() | ||||||
.withStatus(Status.FAILED) | ||||||
.withMessage(message); | ||||||
} catch (final Exception e) { | ||||||
LOGGER.error("Exception attempting to access the AWS bucket: {}. Please make sure you account has all of these roles: {}", e.getMessage(), | ||||||
LOGGER.error("Exception attempting to access the Gcs bucket: {}. Please make sure you account has all of these roles: {}", e.getMessage(), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the log message below this it is spelled There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🙄 not really |
||||||
EXPECTED_ROLES); | ||||||
AirbyteTraceMessageUtility.emitConfigErrorTrace(e, e.getMessage()); | ||||||
return new AirbyteConnectionStatus() | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.