This commit is contained in:
Dmitry Zuikov 2023-10-15 13:27:41 +03:00
parent 5397cd352b
commit 6d7616c426
1 changed files with 4 additions and 0 deletions

View File

@ -127,6 +127,8 @@ newState so refLog =
withConfig :: forall a m . (MonadUnliftIO m) => Maybe FilePath -> ReposyncM m a -> ReposyncM m ()
withConfig cfg m = do
debug $ "wtf?"
let defDir = reposyncDefaultDir
defConfDir <- liftIO $ getXdgDirectory XdgConfig myName
@ -373,6 +375,8 @@ withApp cfg m = do
waitAnyCatchCancel [c1, messaging, r]
notice "exiting"
setLoggingOff @DEBUG
setLoggingOff @INFO
setLoggingOff @ERROR