--- Log opened Sun Jun 21 00:00:21 2009
01:29 < jimmyjazz14> hello
01:30 < jimmyjazz14> I am trying to use happstack to serve a file if it exist or report a 404 if it does not...
01:30 < jimmyjazz14> so I am using catch...
01:31 < jimmyjazz14> my code looks like so: a <- liftIO $ catch (showFile (rootPath ++ rq)) (\_ -> notFound "404")
01:31 < jimmyjazz14> but that does not work correctly, anyone know where I am going wrong here?
02:21 < Oejet> jimmyjazz14: How about "readFile" instead of "showFile"?
--- Log closed Mon Jun 22 00:00:22 2009