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))
|
(vector-ref result-vec index))
|
||||||
(lambda (result)
|
(lambda (result)
|
||||||
(match result
|
(match result
|
||||||
(('exception . exn)
|
(('exception exn stack)
|
||||||
(raise-exception exn))
|
(let ((knots-exn
|
||||||
|
(make-knots-exception stack)))
|
||||||
|
(raise-exception
|
||||||
|
(make-exception
|
||||||
|
knots-exn
|
||||||
|
exn))))
|
||||||
(_
|
(_
|
||||||
(vector-set! result-vec
|
(vector-set! result-vec
|
||||||
index
|
index
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue