Include the pool name in the resource pool timeout exception
This commit is contained in:
parent
e2e158e33b
commit
bfb4ff3101
1 changed files with 2 additions and 2 deletions
|
|
@ -360,7 +360,7 @@
|
|||
(define &resource-pool-timeout
|
||||
(make-exception-type '&recource-pool-timeout
|
||||
&error
|
||||
'()))
|
||||
'(name)))
|
||||
|
||||
(define make-resource-pool-timeout-error
|
||||
(record-constructor &resource-pool-timeout))
|
||||
|
|
@ -431,7 +431,7 @@ available. Return the resource once PROC has returned."
|
|||
(timeout-handler pool proc timeout))
|
||||
|
||||
(raise-exception
|
||||
(make-resource-pool-timeout-error)))
|
||||
(make-resource-pool-timeout-error (resource-pool-name pool))))
|
||||
|
||||
(with-exception-handler
|
||||
(lambda (exception)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue