aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/pal.py
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-08-14 10:23:21 +0200
committerTibor Frank <tifrank@cisco.com>2018-08-20 08:19:34 +0000
commit7a80bd96262383dc3597b769e60dfad8ccc9b883 (patch)
treeaeac61e29344dd3b5efdb0cc58f07d2c8ca72622 /resources/tools/presentation/pal.py
parent6319502b111ba4ada612adc82e5e1c431fca2795 (diff)
PAL improvement: Log repr() of PresentationError
Change-Id: I491e3a77dda06e6a1caa34f70baaef9751674fbd Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools/presentation/pal.py')
-rw-r--r--resources/tools/presentation/pal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/pal.py b/resources/tools/presentation/pal.py
index 73d3b757aa..a6b4d58bcf 100644
--- a/resources/tools/presentation/pal.py
+++ b/resources/tools/presentation/pal.py
@@ -116,10 +116,10 @@ def main():
except (KeyError, ValueError, PresentationError) as err:
logging.info("Finished with an error.")
- logging.critical(str(err))
+ logging.critical(repr(err))
except Exception as err:
logging.info("Finished with an unexpected error.")
- logging.critical(str(err))
+ logging.critical(repr(err))
finally:
if spec is not None:
clean_environment(spec.environment)