diff --git a/castellan/common/exception.py b/castellan/common/exception.py index cccea91c..f45db7a4 100644 --- a/castellan/common/exception.py +++ b/castellan/common/exception.py @@ -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