We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be343a commit c772829Copy full SHA for c772829
ghcide/src/Development/IDE/LSP/LanguageServer.hs
@@ -141,6 +141,7 @@ runLanguageServer options inH outH getHieDbLoc defaultConfig onConfigurationChan
141
logError (ideLogger ide) $
142
T.pack $ "Fatal error in server thread: " <> show e
143
exitClientMsg
144
+ throwIO e
145
handleServerException _ = pure ()
146
_ <- flip forkFinally handleServerException $ runWithDb dbLoc $ \hiedb hieChan -> do
147
putMVar dbMVar (hiedb,hieChan)
0 commit comments