Fix exception handling for fibers-batch-map
This commit is contained in:
parent
7de5901a94
commit
b0d8618705
1 changed files with 7 additions and 2 deletions
|
@ -118,8 +118,13 @@
|
|||
(vector-ref result-vec index))
|
||||
(lambda (result)
|
||||
(match result
|
||||
(('exception . exn)
|
||||
(raise-exception exn))
|
||||
(('exception exn stack)
|
||||
(let ((knots-exn
|
||||
(make-knots-exception stack)))
|
||||
(raise-exception
|
||||
(make-exception
|
||||
knots-exn
|
||||
exn))))
|
||||
(_
|
||||
(vector-set! result-vec
|
||||
index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue