add more logs

This commit is contained in:
anthony 2011-07-06 11:53:42 -07:00
parent a756a9e171
commit 90cb2dea6a
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ public class SnapshotSchedulerImpl implements SnapshotScheduler {
tmpSnapshotScheduleVO.setAsyncJobId(jobId);
_snapshotScheduleDao.update(snapshotScheId, tmpSnapshotScheduleVO);
} catch (Exception e) {
s_logger.debug("Scheduling snapshot failed due to " + e.toString(), e);
} finally {
if (tmpSnapshotScheduleVO != null) {
_snapshotScheduleDao.releaseFromLockTable(snapshotScheId);