Fix error with reraising exceptions in serializer
This commit is contained in:
parent
e82ef60e2e
commit
b69358a185
|
@ -63,7 +63,7 @@ def serializer_proxy(obj_or_type):
|
||||||
if exc_info is None:
|
if exc_info is None:
|
||||||
return result
|
return result
|
||||||
else:
|
else:
|
||||||
raise exc_info[0](exc_info[1]).with_traceback(exc_info[2])
|
raise exc_info[1].with_traceback(exc_info[2])
|
||||||
|
|
||||||
class SerializerObjectProxy(object):
|
class SerializerObjectProxy(object):
|
||||||
def __init__(self, obj_or_type, *args, **kwargs):
|
def __init__(self, obj_or_type, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user