diff options
Diffstat (limited to 'resources/tools/presentation/errors.py')
-rw-r--r-- | resources/tools/presentation/errors.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/tools/presentation/errors.py b/resources/tools/presentation/errors.py index 0d8d5b9b33..64084f6a40 100644 --- a/resources/tools/presentation/errors.py +++ b/resources/tools/presentation/errors.py @@ -63,7 +63,9 @@ class PresentationError(Exception): sys.exit(1) def __repr__(self): - return repr(self._msg) + return ( + "PresentationError(msg={msg!r},details={dets!r},level={level!r})". + format(msg=self._msg, dets=self._details, level=self._level)) def __str__(self): return str(self._msg) |