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

Log full AWS exceptions #10

Closed
glebshalyganov opened this issue Aug 12, 2021 · 0 comments
Closed

Log full AWS exceptions #10

glebshalyganov opened this issue Aug 12, 2021 · 0 comments
Assignees

Comments

@glebshalyganov
Copy link
Contributor

Duplicate of: jmix-projects/jmix-awsfs#5

Environment

  • Platform version: 7.2.x
  • Addon version: 1.0.1

Description of the bug or enhancement

When catching exceptions in saveStream/openStream methods, log the initial exception before throwing FileStorageException.
E.g. log.error("Error saving file to AWS", e)
Otherwise the useful information about the error (like "access denied") is lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants