X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Frestful%2Fhooks.py;fp=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Frestful%2Fhooks.py;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=3fd244aa85e26a9be2e345cf93360283f23fea16;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/pybind/mgr/restful/hooks.py b/src/ceph/src/pybind/mgr/restful/hooks.py deleted file mode 100644 index 3fd244a..0000000 --- a/src/ceph/src/pybind/mgr/restful/hooks.py +++ /dev/null @@ -1,9 +0,0 @@ -from pecan.hooks import PecanHook - -import traceback - -import module - -class ErrorHook(PecanHook): - def on_error(self, stat, exc): - module.instance.log.error(str(traceback.format_exc()))