Don't swallow break exceptions.
This commit is contained in:
parent
41c4ecacb1
commit
665ca900fa
|
@ -145,7 +145,8 @@
|
|||
(udp-bind! s #f port-number)
|
||||
|
||||
(define (service-loop)
|
||||
(with-handlers ((exn? (lambda (e)
|
||||
(with-handlers ((exn:break? (lambda (e) (raise e)))
|
||||
(exn? (lambda (e)
|
||||
(display "Error in DNS service handler:") (newline)
|
||||
(write e)
|
||||
(newline)
|
||||
|
|
Loading…
Reference in New Issue