Revert "Prevent exceptions from accumulating in REPL"
This reverts commit 0cd951fb73
.
It is not a correct solution because it prevents printing the same exception twice.
This commit is contained in:
parent
bd87201c4f
commit
bde1c4166d
1
py/obj.c
1
py/obj.c
@ -125,7 +125,6 @@ void mp_obj_print_exception(const mp_print_t *print, mp_obj_t exc) {
|
|||||||
mp_printf(print, decompressed_block, block);
|
mp_printf(print, decompressed_block, block);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mp_obj_exception_clear_traceback(exc);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mp_obj_print_helper(print, exc, PRINT_EXC);
|
mp_obj_print_helper(print, exc, PRINT_EXC);
|
||||||
|
Loading…
Reference in New Issue
Block a user