diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-06-15 13:58:33 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-06-15 13:58:33 +0200 |
commit | 423b2917d9895c84dae60489cf73759cd7c4187a (patch) | |
tree | 1cfb7ef75dfa5a9c764a0068d1af9011659f2758 /pdf-over-gui/src/main/java | |
parent | 29b6f2ad9b8ec93a2d51bad2fdd7a11176068f40 (diff) | |
download | pdf-over-423b2917d9895c84dae60489cf73759cd7c4187a.tar.gz pdf-over-423b2917d9895c84dae60489cf73759cd7c4187a.tar.bz2 pdf-over-423b2917d9895c84dae60489cf73759cd7c4187a.zip |
proper null checking for EXIF metadata, cf. #25
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java index 69bf66aa..84ef58d3 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/OutputComposite.java @@ -313,7 +313,7 @@ public class OutputComposite extends StateComposite { source.getByteArray().length); outstream.close(); } catch (FileNotFoundException e) { - log.error("File not found", e); //$NON-NLS-1$ + log.warn("Failed to open output file", e); //$NON-NLS-1$ ErrorDialog dialog = new ErrorDialog(getShell(), String.format(Messages.getString("output.save_failed"), //$NON-NLS-1$ targetFile.getName(), e.getLocalizedMessage()), @@ -322,7 +322,7 @@ public class OutputComposite extends StateComposite { return null; retry = true; } catch (IOException e) { - log.error("IO Error", e); //$NON-NLS-1$ + log.error("I/O Error", e); //$NON-NLS-1$ ErrorDialog dialog = new ErrorDialog(getShell(), String.format(Messages.getString("output.save_failed"), //$NON-NLS-1$ targetFile.getName(), e.getLocalizedMessage()), |