Skip to content

Commit

Permalink
Bug 1622646 - Fix usage of six.reraise in telemetry-integration-tests…
Browse files Browse the repository at this point in the history
…; r=wlach

Differential Revision: https://phabricator.services.mozilla.com/D67821
  • Loading branch information
hackebrot committed Mar 23, 2020
1 parent 806b728 commit 948fa86
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,12 @@ def open_tab(self, focus=False):
)
)
except Exception:
exc, val, tb = sys.exc_info()
reraise(exc, "Failed to trigger opening a new tab: {}".format(val), tb)
exc_type, exc_value, exc_traceback = sys.exc_info()
reraise(
exc_type,
exc_type("Failed to trigger opening a new tab: {}".format(exc_value)),
exc_traceback,
)
else:
Wait(self.marionette).until(
lambda mn: len(mn.window_handles) == len(current_tabs) + 1,
Expand Down

0 comments on commit 948fa86

Please sign in to comment.