Skip to content

Commit b000c10

Browse files
committed
Fix three pretty exception messages
1 parent 5dc297d commit b000c10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Stack/Setup.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ data SetupPrettyException
358358

359359
instance Pretty SetupPrettyException where
360360
pretty (GHCInstallFailed ex step cmd args wd tempDir destDir) =
361-
flow "Error: [S-7441]"
361+
"[S-7441]"
362362
<> line
363363
<> string (displayException ex)
364364
<> line

src/Stack/Upload.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ data UploadPrettyException
5656

5757
instance Pretty UploadPrettyException where
5858
pretty AuthenticationFailure =
59-
"Error:" <+> "[S-2256]"
59+
"[S-2256]"
6060
<> line
6161
<> flow "authentification failure"
6262
<> line
6363
<> flow "Authentication failure uploading to server"
6464
pretty (ArchiveUploadFailure code res tarName) =
65-
"Error:" <+> "[S-6108]"
65+
"[S-6108]"
6666
<> line
6767
<> flow "unhandled status code:" <+> fromString (show code)
6868
<> line

0 commit comments

Comments
 (0)