]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/devicehealth: improve error handling 23205/head
authorJohn Spray <john.spray@redhat.com>
Tue, 24 Jul 2018 12:48:26 +0000 (08:48 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 6 Aug 2018 13:22:41 +0000 (14:22 +0100)
commit753d96f26048ee9c86526b3482db913fbbb0264a
tree6b08def12604b447a77e3b461635e21d14808725
parente337da052f4a46ec19353d9d5322d695a5b8f968
mgr/devicehealth: improve error handling

Avoid catch-all exception handlers, especially
ones that just `pass`

When catching RADOS object not found type errors,
catch specifically those, and make sure we're still
logging any actual unexpected IO errors from RADOS.

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/devicehealth/module.py