We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ccfc8a commit 049983fCopy full SHA for 049983f
1 file changed
Cabal/src/Distribution/Simple/Utils.hs
@@ -454,8 +454,8 @@ dieWithLocation' verbosity filename mb_lineno msg =
454
die' :: Verbosity -> String -> IO a
455
die' verbosity msg = withFrozenCallStack $ do
456
ioError . verbatimUserError
457
- =<< annotateErrorString verbosity
458
- =<< (wrapTextVerbosity (verbosityFlags verbosity) . addErrorPrefix <$> prefixWithProgName msg)
+ =<< annotateErrorString verbosity . wrapTextVerbosity (verbosityFlags verbosity) . addErrorPrefix
+ =<< prefixWithProgName msg
459
460
-- Type which will be a wrapper for cabal -exceptions and cabal-install exceptions
461
data VerboseException a = VerboseException CallStack POSIXTime VerbosityFlags a
0 commit comments