From 98e789411302eb25a785e08d78e9d08548df1950 Mon Sep 17 00:00:00 2001 From: depsterr Date: Mon, 14 Mar 2022 16:19:19 +0100 Subject: [PATCH] fixed weird bug with not consuming pipe --- src/YTDL.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/YTDL.hs b/src/YTDL.hs index 85d84c2..1f60cdc 100644 --- a/src/YTDL.hs +++ b/src/YTDL.hs @@ -83,6 +83,6 @@ ytdl url res = ReaderT $ \cfg -> do (pure . Left) "An unknown error prevented the output file from being created" (ExitFailure status) -> - pure . Left $ "execution failed with status " ++ show status ++ ": " ++ err + pure . Left $ "execution failed with status " ++ show status ++ ": " ++ out ++ ", " ++ err _ -> (pure . Left) "Unable to create ytdlProcess for downloading video"