Fix some exception handling issues
This commit is contained in:
parent
3aab1be1e7
commit
4e33da98aa
2 changed files with 38 additions and 2 deletions
|
@ -72,7 +72,7 @@
|
|||
reply-channels)))
|
||||
(map
|
||||
(match-lambda
|
||||
(('exception exn stack)
|
||||
(('exception exn)
|
||||
(raise-exception exn))
|
||||
(result
|
||||
(apply values result)))
|
||||
|
@ -254,7 +254,10 @@
|
|||
(let ((stack (make-stack #t
|
||||
0 prompt-tag
|
||||
0 (and prompt-tag 1))))
|
||||
(return (list 'exception exn stack))))))
|
||||
(return (list 'exception
|
||||
(make-exception
|
||||
exn
|
||||
(make-knots-exception stack))))))))
|
||||
(lambda ()
|
||||
(call-with-values
|
||||
(lambda ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue