don't hide message when ensureInitialized fails

This commit is contained in:
Joey Hess 2019-08-27 12:38:47 -04:00
parent 37b42e72e7
commit 16f646c9a6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -324,7 +324,7 @@ tryGitConfigRead autoinit r
readlocalannexconfig = do readlocalannexconfig = do
let check = do let check = do
Annex.BranchState.disableUpdate Annex.BranchState.disableUpdate
void $ tryNonAsync ensureInitialized catchNonAsync ensureInitialized (warning . show)
Annex.getState Annex.repo Annex.getState Annex.repo
s <- Annex.new r s <- Annex.new r
Annex.eval s $ check `finally` stopCoProcesses Annex.eval s $ check `finally` stopCoProcesses