summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSergey Vilgelm <svilgelm@mirantis.com>2013-06-24 13:41:07 +0400
committerSergey Vilgelm <svilgelm@mirantis.com>2013-06-24 13:41:07 +0400
commitf79ccf452b7a0cbf51c63adf259f46896586dc16 (patch)
treedb8ae449b7b6e957961f967357543f3874c84ee1 /docs
parentf1cfbd78ac1d50a42975ea219919a398f634f7f5 (diff)
Do not raise NEW exceptions
Raising NEW exception is bad practice, because we lose TraceBack. So all places like: except SomeException as e: raise e should be replaced by except SomeException: raise If we are doing some other actions before reraising we should store information about exception then do all actions and then reraise it. This is caused by eventlet bug. It lost information about exception if it switch threads. fixes bug 1191730 Change-Id: I8dffc36ba5780911dd57d7161d218d0324af60b3
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions