Tuesday, March 2, 2021
1 change · master
Resolved issues and error corrections
Fixes a problem where error reporting could get stuck in a repeated failure loop on non-Chrome browsers. This helps keep the web interface stable when errors occur, instead of potentially causing the browser to crash.
Original PR description
The formatTraceback function relies on _t to add the error message to tracebacks, it was recently moved around while refactoring but it seems that its dependency was forgotten and not imported. This causes the attempt to call _t to crash, which will try to format the error, which will again try to call _t and crash, until the browser itself crashes. This commit fixes that issue by adding the required import.