refactor: make observation messages pure (#3250)
removes the observation messages from the Logger
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user