From 2a99d7ffc0aca575012df399576deaf7186e08d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 22 Mar 2019 12:23:59 -0400 Subject: [PATCH] improve error message --- Remote/S3.hs | 2 +- git-annex.cabal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Remote/S3.hs b/Remote/S3.hs index 9dfe46377b..371c1d0718 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -590,7 +590,7 @@ s3Configuration c = cfg cfgproto = case M.lookup "protocol" c of Just "https" -> Just AWS.HTTPS Just "http" -> Just AWS.HTTP - Just _ -> giveup $ "bad S3 protocol value" + Just s -> giveup $ "bad S3 protocol value: " ++ s Nothing -> Nothing proto = case cfgproto of Just v -> v diff --git a/git-annex.cabal b/git-annex.cabal index 2b3d609f40..8057b91a54 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 7.20190219 +Version: 7.20190322 Cabal-Version: >= 1.8 License: AGPL-3 Maintainer: Joey Hess