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:
Christian Walther 2020-11-28 23:09:05 +01:00
parent bd87201c4f
commit bde1c4166d

View File

@ -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);