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"