Skip to content

Commit

Permalink
Fix incorrect arguments to traceback.format (See #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Sep 23, 2020
1 parent 8105b1a commit 768c9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def readUntilEOF(proc, fileLikeObject):
break
except Exception as e:
#reduce cpu usage if some exception is continously thrown
print("Error in [runProcessOutputToTempFile()]: {}".format(traceback.format_exc(e)))
print("Error in [runProcessOutputToTempFile()]: {}".format(traceback.format_exc()))
time.sleep(.1)

# Monitor stderr on one thread, and monitor stdout on main thread
Expand Down

0 comments on commit 768c9f9

Please sign in to comment.