Skip to content

Commit

Permalink
remove sys.exc_clear, it does not exist in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpypere committed Apr 15, 2021
1 parent 71acde3 commit 43dc6c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/vsc/utils/script_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ def critical_exception_handler(self, tp, value, traceback):
self.log.exception("unhandled exception detected: %s - %s", tp, value)
self.log.debug("traceback %s", traceback)
message = "Script failure: %s - %s" % (tp, value)
sys.exc_clear()
self.critical(message)


Expand Down

0 comments on commit 43dc6c7

Please sign in to comment.