Skip to content

Commit

Permalink
Fix for issue #38 where a missing build date file was throwing a
Browse files Browse the repository at this point in the history
different exception than expected.  It's ok to bulk catch here because
it's not critical code for downstream builders.
  • Loading branch information
pspeed42 committed Dec 5, 2016
1 parent 66cf799 commit 08f2db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions release/Lemur-changelog.txt
Expand Up @@ -40,6 +40,8 @@ Lemur 1.10.1 (unreleased)
methods.
* Added an insert(String) method to DocumentModel and its implementations that
allows bulk-insertion of text instead of just one character at a time
* Fixed GuiGlobals to not crash under certain circumstances if the build info isn't
available. Fixes issue #38


Lemur 1.9.1
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/simsilica/lemur/GuiGlobals.java
Expand Up @@ -194,8 +194,8 @@ protected void logBuildInfo() {
java.net.URL u = Resources.getResource("lemur.build.date");
String build = Resources.toString(u, Charsets.UTF_8);
log.info("Lemur build date:" + build);
} catch( java.io.IOException e ) {
log.error( "Error reading build info", e );
} catch( Exception e ) {
log.error("Error reading build info", e);
}
}

Expand Down

0 comments on commit 08f2db3

Please sign in to comment.