summaryrefslogtreecommitdiffstats
path: root/doctor_tests/app_manager/sample.py
diff options
context:
space:
mode:
Diffstat (limited to 'doctor_tests/app_manager/sample.py')
-rw-r--r--doctor_tests/app_manager/sample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doctor_tests/app_manager/sample.py b/doctor_tests/app_manager/sample.py
index 94049aa2..7ca35b97 100644
--- a/doctor_tests/app_manager/sample.py
+++ b/doctor_tests/app_manager/sample.py
@@ -165,7 +165,7 @@ class AppManager(Thread):
data = json.loads(request.data.decode('utf8'))
try:
payload = self._alarm_traits_decoder(data)
- except:
+ except Exception:
payload = ({t[0]: t[2] for t in
data['reason_data']['event']['traits']})
self.log.error('cannot parse alarm data: %s' % payload)