Skip to content

Commit c09fd4f

Browse files
committed
Fix bugReport messages
1 parent 2194959 commit c09fd4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Stack/Types/Build.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,10 @@ instance Exception BuildException where
337337
, "Maybe you're running another copy of Stack?"
338338
]
339339
displayException (TaskCycleBug pid) = bugReport "[S-7868]" $
340-
"Error: The impossible happened! Unexpected task cycle for "
340+
"Unexpected task cycle for "
341341
++ packageNameString (pkgName pid)
342342
displayException (PackageIdMissingBug ident) = bugReport "[S-8923]" $
343-
"The impossible happened! singleBuild: missing package ID missing: "
343+
"singleBuild: missing package ID missing: "
344344
++ show ident
345345
displayException AllInOneBuildBug = bugReport "[S-7371]"
346346
"Cannot have an all-in-one build that also has a final build step."

src/Stack/Types/TemplateName.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ newtype TypeTemplateNameException
3131

3232
instance Exception TypeTemplateNameException where
3333
displayException (DefaultTemplateNameNotParsedBug s) = bugReport "[S-7410]" $
34-
"The impossible happened! Cannot parse default template name: "
34+
"Cannot parse default template name: "
3535
++ s
3636

3737
-- | A template name.

0 commit comments

Comments
 (0)