Merge pull request #3771 from cwalther/exceptionprint

#3702 breaks printing an exception twice
This commit is contained in:
Jeff Epler 2020-12-15 08:11:28 -06:00 committed by GitHub
commit afcc00fed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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_obj_exception_clear_traceback(exc);
}
}
mp_obj_print_helper(print, exc, PRINT_EXC);