This is already done in handle_uncaught_exception(), line 743.