We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c16e6d commit 3b8abf4Copy full SHA for 3b8abf4
src/Async.ml
@@ -872,10 +872,6 @@ let spawn dinfo client f =
872
add_ready dinfo (Action(cont, info, e))
873
end
874
875
- | exception e ->
876
- Log.f (Exc 0) (fun k -> k "Exception in spawn %s"
877
- (Printexc.to_string e));
878
- raise e
879
880
let close ~dinfo ~client exn =
881
if client.connected then begin
@@ -1121,6 +1117,8 @@ let loop listens pipe timeout handler () =
1121
1117
| Switch ->
1122
1118
Log.f (Exc 1) (fun k -> k "Switching protocol");
1123
1119
| e ->
1120
+ Log.f (Exc 0) (fun k -> k "Exception in handler %s"
+ (Printexc.to_string e));
1124
close ~dinfo ~client e)
1125
| Action (cont, p, e) ->
1126
let hup = Polly.Events.((hup land e) <> empty) in
0 commit comments