summaryrefslogtreecommitdiffstats
path: root/nfvbench/chain_managers.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2018-04-26 18:32:27 -0700
committerahothan <ahothan@cisco.com>2018-04-26 18:32:27 -0700
commit6404b7aa4391712f0421b3ee0996c59871816db1 (patch)
tree6f12166ded53eb43b9bb2787e95489c32b4e38f6 /nfvbench/chain_managers.py
parente48023137b7010e9e1640649ea2859009a362939 (diff)
[NFVBENCH-89] Fix exception losing original tracebacks
Change-Id: I7e94d6209603c622fc0a0ea22fdd21ea09f1bbaa Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/chain_managers.py')
-rw-r--r--nfvbench/chain_managers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfvbench/chain_managers.py b/nfvbench/chain_managers.py
index ab340bf..211f9bb 100644
--- a/nfvbench/chain_managers.py
+++ b/nfvbench/chain_managers.py
@@ -90,11 +90,11 @@ class PVPStatsManager(object):
try:
self.worker.set_vlans(self.vlans)
self._config_interfaces()
- except Exception as exc:
+ except Exception:
# since the wrorker is up and running, we need to close it
# in case of exception
self.close()
- raise exc
+ raise
def _get_data(self):
return self.worker.get_data() if self.worker else {}