aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/scenario/pnf_macro.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/scenario/pnf_macro.py')
-rw-r--r--src/onaptests/scenario/pnf_macro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/scenario/pnf_macro.py b/src/onaptests/scenario/pnf_macro.py
index b3c7d3e..24f9a1e 100644
--- a/src/onaptests/scenario/pnf_macro.py
+++ b/src/onaptests/scenario/pnf_macro.py
@@ -124,9 +124,9 @@ class PnfMacro(testcase.TestCase):
test_phase()
self.result += 50
except OnapTestException as exc:
- self.__logger.error(exc.error_message)
+ self.__logger.exception(exc.error_message)
except SDKException:
- self.__logger.error("SDK Exception")
+ self.__logger.exception("SDK Exception")
finally:
self.stop_time = time.time()