mirror of https://github.com/voidlizard/hbs2
debug-2
This commit is contained in:
parent
5397cd352b
commit
6d7616c426
|
@ -127,6 +127,8 @@ newState so refLog =
|
||||||
withConfig :: forall a m . (MonadUnliftIO m) => Maybe FilePath -> ReposyncM m a -> ReposyncM m ()
|
withConfig :: forall a m . (MonadUnliftIO m) => Maybe FilePath -> ReposyncM m a -> ReposyncM m ()
|
||||||
withConfig cfg m = do
|
withConfig cfg m = do
|
||||||
|
|
||||||
|
debug $ "wtf?"
|
||||||
|
|
||||||
let defDir = reposyncDefaultDir
|
let defDir = reposyncDefaultDir
|
||||||
defConfDir <- liftIO $ getXdgDirectory XdgConfig myName
|
defConfDir <- liftIO $ getXdgDirectory XdgConfig myName
|
||||||
|
|
||||||
|
@ -373,6 +375,8 @@ withApp cfg m = do
|
||||||
|
|
||||||
waitAnyCatchCancel [c1, messaging, r]
|
waitAnyCatchCancel [c1, messaging, r]
|
||||||
|
|
||||||
|
notice "exiting"
|
||||||
|
|
||||||
setLoggingOff @DEBUG
|
setLoggingOff @DEBUG
|
||||||
setLoggingOff @INFO
|
setLoggingOff @INFO
|
||||||
setLoggingOff @ERROR
|
setLoggingOff @ERROR
|
||||||
|
|
Loading…
Reference in New Issue