mirror of https://github.com/apache/cloudstack.git
bug 10691: add more log
This commit is contained in:
parent
0dba08a431
commit
8722f35f91
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue