Fix exception origin in the knots web server

This commit is contained in:
Christopher Baines 2025-02-19 17:34:45 +00:00
parent 99245034ea
commit 1fbd1f334a

View file

@ -341,7 +341,7 @@ on the procedure being called at any particular time."
(lambda (exn)
(unless (and (exception-with-origin? exn)
(string=? (exception-origin exn)
"fport_write"))
"fport_read"))
(display "knots web-server, exception in client loop:\n"
(current-error-port))
(print-exception