Skip to content

Commit 3024095

Browse files
committed
Show log as info, not critical
1 parent aa636f2 commit 3024095

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ def get_topmost_frame(self, thread):
130130
current_frames = _current_frames()
131131
topmost_frame = current_frames.get(thread.ident)
132132
if topmost_frame is None:
133-
pydev_log.critical(
133+
# Note: this is expected for dummy threads (so, getting the topmost frame should be
134+
# treated as optional).
135+
pydev_log.info(
134136
'Unable to get topmost frame for thread: %s, thread.ident: %s, id(thread): %s\nCurrent frames: %s.\n'
135137
'GEVENT_SUPPORT: %s',
136138
thread,

0 commit comments

Comments
 (0)