Skip to content

Commit be34b1f

Browse files
committed
redundant now
1 parent bb28257 commit be34b1f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎Modules/_remote_debugging/code_objects.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ parse_code_object(RemoteUnwinderObject *unwinder,
372372
&unwinder->handle, real_address, SIZEOF_CODE_OBJ, code_object) < 0)
373373
{
374374
if (_Py_RemoteDebug_IsFatalReadError()) {
375-
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read code object");
376375
goto error;
377376
}
378377
PyErr_Clear();
@@ -385,7 +384,6 @@ parse_code_object(RemoteUnwinderObject *unwinder,
385384
GET_MEMBER(uintptr_t, code_object, unwinder->debug_offsets.code_object.qualname), 1024);
386385
if (!func) {
387386
if (_Py_RemoteDebug_IsFatalReadError()) {
388-
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read function name from code object");
389387
goto error;
390388
}
391389
PyErr_Clear();
@@ -397,7 +395,6 @@ parse_code_object(RemoteUnwinderObject *unwinder,
397395
GET_MEMBER(uintptr_t, code_object, unwinder->debug_offsets.code_object.filename), 1024);
398396
if (!file) {
399397
if (_Py_RemoteDebug_IsFatalReadError()) {
400-
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read filename from code object");
401398
goto error;
402399
}
403400
PyErr_Clear();
@@ -414,7 +411,6 @@ parse_code_object(RemoteUnwinderObject *unwinder,
414411
MAX_LINETABLE_SIZE);
415412
if (!linetable) {
416413
if (_Py_RemoteDebug_IsFatalReadError()) {
417-
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read linetable from code object");
418414
goto error;
419415
}
420416
PyErr_Clear();

0 commit comments

Comments
 (0)