We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793b2d8 commit 1382e18Copy full SHA for 1382e18
src/System/Process/Typed/Internal.hs
@@ -620,11 +620,13 @@ instance Show ExitCodeException where
620
, show (eceProcessConfig ece) { pcEnv = Nothing }
621
, if L.null (eceStdout ece)
622
then ""
623
- else "Standard output:\n\n" ++ L8.unpack (eceStdout ece)
+ else "Standard output:\n\n" ++ unpack (eceStdout ece)
624
, if L.null (eceStderr ece)
625
626
- else "Standard error:\n\n" ++ L8.unpack (eceStderr ece)
+ else "Standard error:\n\n" ++ unpack (eceStderr ece)
627
]
628
+ where
629
+ unpack = L8.unpack
630
631
-- | Wrapper for when an exception is thrown when reading from a child
632
-- process, used by 'byteStringOutput'.
0 commit comments