improve error message
This commit is contained in:
parent
39d55a8541
commit
2a99d7ffc0
2 changed files with 2 additions and 2 deletions
|
@ -590,7 +590,7 @@ s3Configuration c = cfg
|
||||||
cfgproto = case M.lookup "protocol" c of
|
cfgproto = case M.lookup "protocol" c of
|
||||||
Just "https" -> Just AWS.HTTPS
|
Just "https" -> Just AWS.HTTPS
|
||||||
Just "http" -> Just AWS.HTTP
|
Just "http" -> Just AWS.HTTP
|
||||||
Just _ -> giveup $ "bad S3 protocol value"
|
Just s -> giveup $ "bad S3 protocol value: " ++ s
|
||||||
Nothing -> Nothing
|
Nothing -> Nothing
|
||||||
proto = case cfgproto of
|
proto = case cfgproto of
|
||||||
Just v -> v
|
Just v -> v
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
Name: git-annex
|
Name: git-annex
|
||||||
Version: 7.20190219
|
Version: 7.20190322
|
||||||
Cabal-Version: >= 1.8
|
Cabal-Version: >= 1.8
|
||||||
License: AGPL-3
|
License: AGPL-3
|
||||||
Maintainer: Joey Hess <id@joeyh.name>
|
Maintainer: Joey Hess <id@joeyh.name>
|
||||||
|
|
Loading…
Reference in a new issue