mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-06 05:52:44 +00:00
catch exceptions and log error in StatisticsTracker.run(), to make sure statistics events don't stop happening
This commit is contained in:
1 parent
41dac25cb6
commit
11d4bab1ac
1 file changed
+5
-1
@@ -416,7 +416,11 @@ public class StatisticsTracker
|
||||
*
|
||||
*/
|
||||
public void run() {
|
||||
progressStatisticsEvent();
|
||||
try {
|
||||
progressStatisticsEvent();
|
||||
} catch (Throwable e) {
|
||||
logger.log(Level.SEVERE, "unexpected exception from progressStatisticsEvent()", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user