Skip to content

Commit 3b8abf4

Browse files
committed
tmp
1 parent 9c16e6d commit 3b8abf4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Async.ml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -872,10 +872,6 @@ let spawn dinfo client f =
872872
add_ready dinfo (Action(cont, info, e))
873873
end
874874
end
875-
| exception e ->
876-
Log.f (Exc 0) (fun k -> k "Exception in spawn %s"
877-
(Printexc.to_string e));
878-
raise e
879875

880876
let close ~dinfo ~client exn =
881877
if client.connected then begin
@@ -1121,6 +1117,8 @@ let loop listens pipe timeout handler () =
11211117
| Switch ->
11221118
Log.f (Exc 1) (fun k -> k "Switching protocol");
11231119
| e ->
1120+
Log.f (Exc 0) (fun k -> k "Exception in handler %s"
1121+
(Printexc.to_string e));
11241122
close ~dinfo ~client e)
11251123
| Action (cont, p, e) ->
11261124
let hup = Polly.Events.((hup land e) <> empty) in

0 commit comments

Comments
 (0)