Skip to content

Commit

Permalink
added log message on failed upload to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Mar 30, 2021
1 parent f96be5e commit c2c62eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public String store(String path, InputStream data) {
final String key = path;
return s3.utilities().getUrl(b -> b.bucket(bucket).key(key)).toExternalForm();
}
logger.warn("Failed to store file on S3 because it's too large - {}, {} bytes", path, data.available());
} catch (IOException e) {
logger.error(null, e);
} finally {
Expand Down

0 comments on commit c2c62eb

Please sign in to comment.