Fixes bug 206847: default exception handler expected to return for
non-&serious conditions
This commit is contained in:
parent
c01f3049e4
commit
398ff23992
|
@ -31,7 +31,8 @@
|
||||||
(lambda (x)
|
(lambda (x)
|
||||||
(display "Unhandled exception:\n" (console-error-port))
|
(display "Unhandled exception:\n" (console-error-port))
|
||||||
(print-condition x (console-error-port))
|
(print-condition x (console-error-port))
|
||||||
(exit -1)))))
|
(when (serious-condition? x)
|
||||||
|
(exit -1))))))
|
||||||
|
|
||||||
(define (with-exception-handler handler proc2)
|
(define (with-exception-handler handler proc2)
|
||||||
(unless (procedure? handler)
|
(unless (procedure? handler)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1430
|
1432
|
||||||
|
|
Loading…
Reference in New Issue