on master help sign in
Clearer error message
78391b9Jasper Van der Jeugt
src/Hakyll/Core/Compiler.hs+2−1
@@ -90,7 +90,8 @@ getDependency identifier = CompilerM $ do
90 where
90 where
91 error' = error $ "Hakyll.Core.Compiler.getDependency: "
91 error' = error $ "Hakyll.Core.Compiler.getDependency: "
92 ++ show identifier
92 ++ show identifier
93− ++ " not found in the cache, the cache might be corrupted"
93+ ++ " not found in the cache, the cache might be corrupted or"
94+ ++ " the item you are referring to might not exist"
94
95
95-- | Require another target. Using this function ensures automatic handling of
96-- | Require another target. Using this function ensures automatic handling of
96-- dependencies
97-- dependencies