aboutsummaryrefslogtreecommitdiffstats
path: root/app/Comment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Comment.hs')
-rw-r--r--app/Comment.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Comment.hs b/app/Comment.hs
index 558778b..5d1c1ef 100644
--- a/app/Comment.hs
+++ b/app/Comment.hs
@@ -59,7 +59,7 @@ getComments commitHash filePath =
. (T.encodeUtf8 . LT.toStrict)
=<< catch
(Git.readTextFileOf commitHash filePath)
- (\(_ :: E.ProcessException) -> pure "")
+ (\(_ :: E.CannotReadFile) -> pure "")
where
language = fromExtension (takeExtension filePath)