summaryrefslogtreecommitdiff
path: root/src/Hakyll
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-01-17 16:08:13 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-01-17 16:08:13 +0100
commit78391b9be280b91319b93817d0407d0cae5f8f03 (patch)
treefea6f5dcf5bf0947088ce3eb347ebecabc6923c5 /src/Hakyll
parente3f8856665befcb8d9d3677b625c8959e68153b0 (diff)
downloadhakyll-78391b9be280b91319b93817d0407d0cae5f8f03.tar.gz
Clearer error message
Diffstat (limited to 'src/Hakyll')
-rw-r--r--src/Hakyll/Core/Compiler.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index 4c624e2..8d7b13c 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -90,7 +90,8 @@ getDependency identifier = CompilerM $ do
where
error' = error $ "Hakyll.Core.Compiler.getDependency: "
++ show identifier
- ++ " not found in the cache, the cache might be corrupted"
+ ++ " not found in the cache, the cache might be corrupted or"
+ ++ " the item you are referring to might not exist"
-- | Require another target. Using this function ensures automatic handling of
-- dependencies