Skip to content
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

AWS S3: Empty exception issue #1589 #1748

Merged
merged 1 commit into from
Jun 12, 2019
Merged

Conversation

MarcinAman
Copy link
Contributor

Purpose

Right now, when alpakka receives an empty message it throws S3Exception but doesn't include any clue for the user on how to fix it. As all communication with S3 is just standard Http alpakka has the response code but ignores it before calling S3Exception's constructor.

Purpose of this PR is to include more information in exception message

References

References #1589

Changes

Added a response code to exception's constructor to later be displayed for the user.

@MarcinAman MarcinAman force-pushed the empty_exception branch 3 times, most recently from fa1b31f to 07188e0 Compare June 12, 2019 05:51
@ennru ennru added the p:aws-s3 label Jun 12, 2019
Copy link
Member

@2m 2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@2m 2m added this to the 1.0.3 milestone Jun 12, 2019
@2m 2m merged commit 47a1c19 into akka:master Jun 12, 2019
@2m 2m mentioned this pull request Jun 12, 2019
@2m 2m changed the title S3: Empty exception issue #1589 AWS S3: Empty exception issue #1589 Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants