summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2016-10-31 11:06:41 +0100
committerGitHub <noreply@github.com>2016-10-31 11:06:41 +0100
commit04945a51d8d61142939ec0d9b2dd6c12f02ab1bc (patch)
treeb8817f077e5981b72d949df2338df866bd2b1511 /src
parentab34240bb53565ce7179432cd75fd67adddb4e7c (diff)
parent218d68363adc426b91dcbcdfb44f9f3da85f2e7a (diff)
downloadhakyll-04945a51d8d61142939ec0d9b2dd6c12f02ab1bc.tar.gz
Merge pull request #478 from lfairy/update-deps
Update dependencies!
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Check.hs3
-rw-r--r--src/Hakyll/Main.hs3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Hakyll/Check.hs b/src/Hakyll/Check.hs
index 157b5d7..b41b40e 100644
--- a/src/Hakyll/Check.hs
+++ b/src/Hakyll/Check.hs
@@ -236,8 +236,7 @@ checkExternalUrl url = do
-- Convert exception to a concise form
showException e = case cast e of
- Just (Http.StatusCodeException (Http.Status code msg) _ _) ->
- show code ++ " " ++ unpack msg
+ Just (Http.HttpExceptionRequest _ e') -> show e'
_ -> head $ words $ show e
#else
checkExternalUrl _ = return ()
diff --git a/src/Hakyll/Main.hs b/src/Hakyll/Main.hs
index c46c705..b48743b 100644
--- a/src/Hakyll/Main.hs
+++ b/src/Hakyll/Main.hs
@@ -16,7 +16,8 @@ import System.Exit (ExitCode(ExitSuccess), exitWit
--------------------------------------------------------------------------------
-import Options.Applicative
+import Data.Monoid ((<>))
+import Options.Applicative
--------------------------------------------------------------------------------