]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/zabbix: log exceptions with backtrace 18734/head
authorJohn Spray <john.spray@redhat.com>
Sat, 23 Sep 2017 14:22:34 +0000 (15:22 +0100)
committerShinobu Kinjo <shinobu@redhat.com>
Sat, 4 Nov 2017 20:42:49 +0000 (05:42 +0900)
commit8cacd2a568fca023a51f3be6e20f90b4ec08c82b
treed048bce24f807cbd96f18bd9745aaf4a984fbd38
parent06706bea9339e26d1a0ab395e9d42d391ee8c03c
mgr/zabbix: log exceptions with backtrace

Logging just the exception object gave a sometimes-enigmatic
single line.  Let's use the logger exception method so that
we get a backtrace.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 316dcc8f0b42b85503632d5472c45c9828882f2c)
src/pybind/mgr/zabbix/module.py