Don't print "Unhandled exception: " when one occurs -- just print its name.
This commit is contained in:
parent
3b1a57a4a0
commit
cb4eeddeea
|
@ -300,7 +300,9 @@ print_error()
|
||||||
goaway(1);
|
goaway(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
fprintf(stderr, "Unhandled exception: ");
|
fprintf(stderr, "Unhandled exception: ");
|
||||||
|
*/
|
||||||
if (printobject(exception, stderr, PRINT_RAW) != 0)
|
if (printobject(exception, stderr, PRINT_RAW) != 0)
|
||||||
err_clear();
|
err_clear();
|
||||||
if (v != NULL && v != None) {
|
if (v != NULL && v != None) {
|
||||||
|
|
Loading…
Reference in New Issue