Skip to content

Commit 50f2256

Browse files
authored
Update src/Tiny_httpd.ml
1 parent 6ccd831 commit 50f2256

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Tiny_httpd.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,8 +1101,7 @@ let run (self:t) : (unit,_) result =
11011101
raise e
11021102
);
11031103
with e ->
1104-
Printf.eprintf "accept raised an exception: %s"
1105-
(Printexc.to_string e)
1104+
_debug (fun k->k "accept raised an exception: %s" (Printexc.to_string e))
11061105
done;
11071106
Ok ()
11081107
with e -> Error e

0 commit comments

Comments
 (0)