X-Git-Url: https://git.rkrishnan.org/?p=functorrent.git;a=blobdiff_plain;f=src%2FFuncTorrent%2FMetainfo.hs;fp=src%2FFuncTorrent%2FMetainfo.hs;h=bec28b84dd172e61c4c69846e8b801294990ab3e;hp=93540823fc47a97a6606342c71fa2d7525764f99;hb=a239b81e780317adbd62be75541bbbe99ba5e06b;hpb=ee331360e1f6585f79218c56d73ed7406e9527bf diff --git a/src/FuncTorrent/Metainfo.hs b/src/FuncTorrent/Metainfo.hs index 9354082..bec28b8 100644 --- a/src/FuncTorrent/Metainfo.hs +++ b/src/FuncTorrent/Metainfo.hs @@ -130,5 +130,5 @@ torrentToMetainfo :: ByteString -> Either String Metainfo torrentToMetainfo s = case decode s of Right d -> mkMetaInfo d - Left e -> Left (show "Cannot parse the torrent file: " ++ show e) + Left e -> Left ("Cannot parse the torrent file: " ++ show e)