Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[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()))