From 78391b9be280b91319b93817d0407d0cae5f8f03 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 17 Jan 2011 16:08:13 +0100 Subject: Clearer error message --- src/Hakyll/Core/Compiler.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Hakyll') 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 -- cgit v1.2.3