Skip to content

Commit 6fb4641

Browse files
committed
log shakeSessionInit
1 parent 8bfe82b commit 6fb4641

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ghcide/src/Development/IDE/Core/Shake.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,10 @@ startTelemetry db extras@ShakeExtras{..}
583583

584584
-- | Must be called in the 'Initialized' handler and only once
585585
shakeSessionInit :: IdeState -> IO ()
586-
shakeSessionInit IdeState{..} = do
586+
shakeSessionInit ide@IdeState{..} = do
587587
initSession <- newSession shakeExtras shakeDb [] "shakeSessionInit"
588588
putMVar shakeSession initSession
589+
logDebug (ideLogger ide) "Shake session initialized"
589590

590591
shakeShut :: IdeState -> IO ()
591592
shakeShut IdeState{..} = withMVar shakeSession $ \runner -> do

0 commit comments

Comments
 (0)