Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check thread id is in current frames (#46266)
On Chromium Windows bot, we are seeing KeyError below. Check the thread id is in sys._current_frames() before format_stack, otherwise do not include the stack in the error message. Error message: 00:02:16.943 WARNING: Exception in TestExecutor.run: File "C:\b\s\w\ir\third_party\wpt_tools\wpt\tools\wptrunner\wptrunner\executors\base.py", line 219, in run message += "".join(traceback.format_stack(sys._current_frames()[executor.ident])) KeyError: 8372
- Loading branch information