Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3fd244aa85e26a9be2e345cf93360283f23fea16
[stor4nfv.git]
/
src
/
ceph
/
src
/
pybind
/
mgr
/
restful
/
hooks.py
1
from pecan.hooks import PecanHook
2
3
import traceback
4
5
import module
6
7
class ErrorHook(PecanHook):
8
def on_error(self, stat, exc):
9
module.instance.log.error(str(traceback.format_exc()))