ZhiQiang Fan f88f6863ea Catch exception when evaluate single alarm
Currently, if we raise exception when evaluate alarms, the outside
method will not catch it, so the higher _evaluate_assigned_alarms
catches it, but this will stop evaluating the rest alarms. Alarm
should be evaluated no matter whether other alarms succeed or not.

This patch adds a try...except block in _evaluate_alarm, it will
log exception when it is raised, and the higher method can move
on next alarm.

Change-Id: Id95865c51dc4ffe2d7089a3ff4fa5b73bd93ae76
Closes-Bug: #1408620
2015-01-08 20:59:28 +08:00
..
2014-12-19 12:49:56 +03:00
2014-12-19 12:49:56 +03:00