diff --git a/dist/uploader-0.0.8.jar b/dist/uploader-0.0.8.jar index 8cc3636..35f48cb 100644 Binary files a/dist/uploader-0.0.8.jar and b/dist/uploader-0.0.8.jar differ diff --git a/src/main/java/de/kopis/glacier/commands/UploadMultipartArchiveCommand.java b/src/main/java/de/kopis/glacier/commands/UploadMultipartArchiveCommand.java index 11d1cf4..3507acc 100644 --- a/src/main/java/de/kopis/glacier/commands/UploadMultipartArchiveCommand.java +++ b/src/main/java/de/kopis/glacier/commands/UploadMultipartArchiveCommand.java @@ -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()); } }