diff --git a/better_exceptions/formatter.py b/better_exceptions/formatter.py index e57f578..b8281d1 100644 --- a/better_exceptions/formatter.py +++ b/better_exceptions/formatter.py @@ -115,7 +115,9 @@ class ExceptionFormatter(object): def format_value(self, v): try: v = repr(v) - except Exception: + except KeyboardInterrupt: + raise + except BaseException: v = u'' % type(v).__name__ max_length = self._max_length