From 5c9c7b360e4578f3db487e663587194746d0386b Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 8 Dec 2023 07:34:55 +0100 Subject: fix: fix `Git.readTextFileOf` --- app/Comment.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Comment.hs') 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) -- cgit v1.2.3