bug 10691: add more log

This commit is contained in:
anthony 2011-07-13 11:47:58 -07:00
parent 0dba08a431
commit 8722f35f91
1 changed files with 6 additions and 2 deletions

View File

@ -392,8 +392,12 @@ public class SnapshotSchedulerImpl implements SnapshotScheduler {
TimerTask timerTask = new TimerTask() {
@Override
public void run() {
Date currentTimestamp = new Date();
poll(currentTimestamp);
try {
Date currentTimestamp = new Date();
poll(currentTimestamp);
} catch (Throwable t) {
s_logger.warn("Catch throwable in snapshot scheduler " + t.toString(), t);
}
}
};
_testClockTimer = new Timer("SnapshotPollTask");