diff options
author | Björn Hagemeister | 2014-10-01 15:46:24 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-10-01 15:46:24 +0200 |
commit | 780a1665a9b2ab6527fde2e68a56da28041a6cdc (patch) | |
tree | ece34f0ce2731f120dd2731f0fede8cab2c3e614 | |
parent | Handle uploads properly if satellite does not supply crc list (diff) | |
download | masterserver-780a1665a9b2ab6527fde2e68a56da28041a6cdc.tar.gz masterserver-780a1665a9b2ab6527fde2e68a56da28041a6cdc.tar.xz masterserver-780a1665a9b2ab6527fde2e68a56da28041a6cdc.zip |
Adapted to exception handling in CrcFile.java.
-rw-r--r-- | src/main/java/org/openslx/imagemaster/serverconnection/UploadingImage.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImage.java b/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImage.java index 4d51ef9..fb3d3d9 100644 --- a/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImage.java +++ b/src/main/java/org/openslx/imagemaster/serverconnection/UploadingImage.java @@ -184,11 +184,7 @@ public class UploadingImage return; if ( getCrcFile() == null && crcFile.isValid() ) { this.crcFile = crcFile; - try { - crcFile.writeCrcFile( dbImage.getAbsolutePath() + ".crc" ); - } catch ( IOException e ) { - log.error( "Could not write crc list to file", e ); - } + crcFile.writeCrcFile( dbImage.getAbsolutePath() + ".crc" ); } } |