Skip to content

Commit

Permalink
Merge pull request #130 from nlevitt/stay-alive-statistics-tracker
Browse files Browse the repository at this point in the history
catch exceptions and log error in StatisticsTracker.run(), to make su…
  • Loading branch information
Hunter committed Oct 6, 2015
2 parents 98d4105 + 11d4bab commit a9c4cb4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,11 @@ public void start() {
*
*/
public void run() {
progressStatisticsEvent();
try {
progressStatisticsEvent();
} catch (Throwable e) {
logger.log(Level.SEVERE, "unexpected exception from progressStatisticsEvent()", e);
}
}

/**
Expand Down

0 comments on commit a9c4cb4

Please sign in to comment.