handle throws to unknown keys in the repl
* module/system/repl/repl.scm (default-catch-handler): Don't rethrow if we don't know the key, just print an error.
This commit is contained in:
parent
5a9634892f
commit
1bb6b839ec
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,8 @@
|
|||
(set! stack-saved? #f)
|
||||
(force-output cep)))
|
||||
(else
|
||||
(apply bad-throw args))))
|
||||
(format (current-error-port) "\nERROR: uncaught throw to `~a', args: ~a\n"
|
||||
(car args) (cdr args)))))
|
||||
|
||||
(define (call-with-backtrace thunk)
|
||||
(catch #t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue