refactor: make observation messages pure (#3250)

removes the observation messages from the Logger
This commit is contained in:
Steve Chavez
2024-02-20 18:42:38 -05:00
committed by GitHub
parent 229bc77886
commit 7c6c056e92
4 changed files with 96 additions and 100 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ type Handler = ExceptT Error
run :: AppState -> (Observation -> IO ()) -> IO ()
run appState observer = do
observer $ AppStartObs prettyVersion
observer $ AppServerStartObs prettyVersion
conf@AppConfig{..} <- AppState.getConfig appState
AppState.connectionWorker appState -- Loads the initial SchemaCache