Clearer error message

This commit is contained in:
Jasper Van der Jeugt 2011-01-17 16:08:13 +01:00
parent e3f8856665
commit 78391b9be2

View file

@ -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