File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,13 @@ upgrade builtHash (UpgradeOpts mbo mso) = case (mbo, mso) of
135135 -- See #2977 - if --git or --git-repo is specified, do source upgrade.
136136 (_, Just so@ (SourceOpts (Just _))) -> source so
137137 (Just bo, Just so) -> binary bo `catchAny` \ e -> do
138- prettyWarnL
139- [ flow " Exception occurred when trying to perform binary upgrade:"
140- , fromString . show $ e
141- , line <> flow " Falling back to source upgrade."
142- ]
138+ prettyWarn $
139+ flow " When trying to perform binary upgrade, Stack encountered the \
140+ \following error:"
141+ <> blankLine
142+ <> ppException e
143+ <> blankLine
144+ <> flow " Falling back to source upgrade."
143145 source so
144146 where
145147 binary = binaryUpgrade
You can’t perform that action at this time.
0 commit comments