Skip to content

Commit

Permalink
NXP-24644: better error logs at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
efge authored and Florent Guillaume committed Mar 16, 2018
1 parent b49a0ca commit e7c5a9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ public void contextInitialized(ServletContextEvent event) {
Double duration = (finishedTime - startTime) / 1000.0;
log.info(String.format("Nuxeo framework started in %.1f sec.", duration));
} catch (IOException | BundleException e) {
log.error("Exception during startup", e);
throw new RuntimeException(e);
} catch (Throwable e) { // NOSONAR
log.error("Exception during startup", e);
throw e;
}
}

Expand Down

0 comments on commit e7c5a9c

Please sign in to comment.