We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e327c1b commit 6f9df58Copy full SHA for 6f9df58
1 file changed
src/pystack/traceback_formatter.py
@@ -25,7 +25,7 @@ def print_thread(self, thread: PyThread) -> None:
25
if self.include_subinterpreters:
26
if thread.interpreter_id != self._current_interpreter_id:
27
self._print_interpreter_header(thread.interpreter_id)
28
- self._current_interpreter_id = thread.interpreter_id
+ self._current_interpreter_id = thread.interpreter_id or -1
29
30
# Print the thread with indentation
31
for line in format_thread(thread, self.native_mode):
0 commit comments