Skip to content

Commit

Permalink
reduce verbosity of errors discussed in JMRI#2539
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed Jan 31, 2017
1 parent 2a124c0 commit 32a4d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/jmri/jmrit/audio/JoalAudioBuffer.java
Expand Up @@ -210,7 +210,7 @@ protected boolean loadBuffer(InputStream stream) {
try {
ALut.alutLoadWAVFile(stream, format, data, size, freq, loop);
} catch (ALException e) {
log.warn("Error loading JoalAudioBuffer from stream", e);
log.warn("Exception loading JoalAudioBuffer from stream: {}", e.toString());
return false;
}

Expand All @@ -232,7 +232,7 @@ protected boolean loadBuffer() {
try {
ALut.alutLoadWAVFile(FileUtil.getExternalFilename(this.getURL()), format, data, size, freq, loop);
} catch (ALException e) {
log.warn("Error loading JoalAudioBuffer from file", e);
log.warn("Exception loading JoalAudioBuffer from file: {}", e.toString());
return false;
}

Expand Down

0 comments on commit 32a4d13

Please sign in to comment.