summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArash Rouhani <miffoljud@gmail.com>2012-08-29 12:33:48 -0300
committerArash Rouhani <miffoljud@gmail.com>2012-08-29 12:33:48 -0300
commit255bb470799ad70c2c6aab28bedfecd06890939b (patch)
treea4f22f9de97fb4e52692a5ae03e674f7a9a75359
parentc12c560aa7a80dffad1b516b3d3780e6a3d57278 (diff)
downloadhakyll-255bb470799ad70c2c6aab28bedfecd06890939b.tar.gz
Add hint for how to resolve a corrupt cache
-rw-r--r--src/Hakyll/Core/Compiler.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Compiler.hs b/src/Hakyll/Core/Compiler.hs
index 99c7d97..ea1cbbe 100644
--- a/src/Hakyll/Core/Compiler.hs
+++ b/src/Hakyll/Core/Compiler.hs
@@ -315,6 +315,7 @@ cached name (Compiler d j) = Compiler d $ const $ CompilerM $ do
_ -> throwError error'
where
error' = "Hakyll.Core.Compiler.cached: Cache corrupt!"
+ ++ " Try deleting the _cache folder."
-- | Create an unsafe compiler from a function in IO
--