File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ghcide/src/Development/IDE/LSP Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,10 @@ runLanguageServer options inH outH getHieDbLoc defaultConfig onConfigurationChan
141
141
logInfo (ideLogger ide) $ T. pack $ " Registering ide configuration: " <> show initConfig
142
142
registerIdeConfiguration (shakeExtras ide) initConfig
143
143
144
- let handleHieDbException e = do
145
- logError (ideLogger ide) (T. pack $ " Unexpected exception in hiedb thread: " <> show e)
144
+ let handleServerException e = do
145
+ logError (ideLogger ide) (T. pack $ " Unexpected exception in server thread: " <> show e)
146
146
exitClientMsg
147
- _ <- flip forkFinally handleHieDbException $ runWithDb dbLoc $ \ hiedb hieChan -> do
147
+ _ <- flip forkFinally handleServerException $ runWithDb dbLoc $ \ hiedb hieChan -> do
148
148
putMVar dbMVar (hiedb,hieChan)
149
149
forever $ do
150
150
msg <- readChan clientMsgChan
You can’t perform that action at this time.
0 commit comments