@@ -59,7 +59,7 @@ data Log
59
59
= LogRegisteringIdeConfig ! IdeConfiguration
60
60
| LogReactorThreadException ! SomeException
61
61
| LogReactorMessageActionException ! SomeException
62
- | LogReactorThreadStopped Int
62
+ | LogReactorThreadStopped
63
63
| LogCancelledRequest ! SomeLspId
64
64
| LogSession Session. Log
65
65
| LogLspServer LspServerLog
@@ -96,8 +96,8 @@ instance Pretty Log where
96
96
vcat
97
97
[ " ReactorMessageActionException"
98
98
, pretty $ displayException e ]
99
- LogReactorThreadStopped i ->
100
- " Reactor thread stopped" <+> pretty i
99
+ LogReactorThreadStopped ->
100
+ " Reactor thread stopped"
101
101
LogCancelledRequest requestId ->
102
102
" Cancelled request" <+> viaShow requestId
103
103
LogSession msg -> pretty msg
@@ -338,6 +338,7 @@ handleInit initParams env (TRequestMessage _ _ m params) = otTracedHandler "Init
338
338
case msg of
339
339
ReactorNotification act -> handle exceptionInHandler act
340
340
ReactorRequest _id act k -> void $ async $ checkCancelled _id act k
341
+ logWith recorder Info LogReactorThreadStopped
341
342
342
343
ide <- readMVar ideMVar
343
344
registerIdeConfiguration (shakeExtras ide) initConfig
0 commit comments