Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Log full AWS exceptions #5

Closed
knstvk opened this issue Jun 27, 2021 · 0 comments
Closed

Log full AWS exceptions #5

knstvk opened this issue Jun 27, 2021 · 0 comments
Assignees
Milestone

Comments

@knstvk
Copy link
Contributor

knstvk commented Jun 27, 2021

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants