Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
Added some exception output
Browse files Browse the repository at this point in the history
  • Loading branch information
nitriques committed Jan 11, 2013
1 parent 99474c5 commit e4817d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified dist/uploader-0.0.8.jar
Binary file not shown.
Expand Up @@ -73,13 +73,13 @@ public void upload(final String vaultName, final File uploadFile, final Integer
log.info("Checksum is" + checksum);

} catch (final IOException e) {
System.err.println("Something went wrong while multipart uploading " + uploadFile + ".");
System.err.println("Something went wrong while multipart uploading " + uploadFile + "." + e.getLocalizedMessage());
} catch (AmazonServiceException e) {
System.err.println("Something went wrong at Amazon while uploading " + uploadFile + ".");
System.err.println("Something went wrong at Amazon while uploading " + uploadFile + "." + e.getLocalizedMessage());
} catch (NoSuchAlgorithmException e) {
System.err.println("No such algorithm found " + e.getLocalizedMessage());
} catch (AmazonClientException e) {
System.err.println("Something went wrong with the Amazon Client.");
System.err.println("Something went wrong with the Amazon Client." + e.getLocalizedMessage());
}
}

Expand Down

0 comments on commit e4817d3

Please sign in to comment.