Skip to content

Commit 18786cf

Browse files
committed
gh-137293: Print Exceptions in searching ELF File in Remote Debug
1 parent 9ced5c4 commit 18786cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/remote_debug.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,9 @@ search_linux_map_for_section(proc_handle_t *handle, const char* secname, const c
732732
if (retval) {
733733
break;
734734
}
735+
if (PyErr_Occured()){
736+
PyErr_Clear();
737+
}
735738
}
736739
}
737740

0 commit comments

Comments
 (0)