X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Ferrors.py;h=64084f6a4034e132e5e5650e77fa50d38f575200;hb=2e6fbdb290ab6128403f1f6edcc6072644843f77;hp=0d8d5b9b33fb22fae381551285486a954a01b8d4;hpb=eecad36d7d2275fa47fbcab40dbcf56108ab0a51;p=csit.git 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)