Merge "Raise old exception instance instead of new one."
This commit is contained in:
commit
3662704518
@ -55,7 +55,7 @@ class ExceptionHelper(object):
|
||||
try:
|
||||
return func(*args, **kwargs)
|
||||
except rpc_common.ClientException, e:
|
||||
raise e._exc_info
|
||||
raise (e._exc_info[1], None, e._exc_info[2])
|
||||
return wrapper
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user