include filename in fsck warning

So it's available in --quiet mode. The same was already done in other
fsck warnings.

Sponsored-by: Noam Kremen on Patreon
This commit is contained in:
Joey Hess 2022-06-29 14:33:35 -04:00
parent 4b4795ec85
commit cddcabfbb5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 1 deletions

View file

@ -164,7 +164,7 @@ performRemote key afile backend numcopies remote =
Nothing -> go True Nothing
Just (Right verification) -> go True (Just (tmpfile, verification))
Just (Left _) -> do
warning "failed to download file from remote"
warning (decodeBS (actionItemDesc ai) ++ ": failed to download file from remote")
void $ go True Nothing
return False
dispatch (Right False) = go False Nothing