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