Merge "Correct castellan reraising of exception"
This commit is contained in:
commit
3dab2cc7ee
@ -43,9 +43,9 @@ class CastellanException(Exception):
|
|||||||
message_arg = self.message
|
message_arg = self.message
|
||||||
try:
|
try:
|
||||||
self.message = message_arg % kwargs
|
self.message = message_arg % kwargs
|
||||||
except Exception as e:
|
except Exception:
|
||||||
if _FATAL_EXCEPTION_FORMAT_ERRORS:
|
if _FATAL_EXCEPTION_FORMAT_ERRORS:
|
||||||
raise e
|
raise
|
||||||
else:
|
else:
|
||||||
# at least get the core message out if something happened
|
# at least get the core message out if something happened
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user