Skip to content

Commit

Permalink
Give a different error message for internal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
miniBill committed May 11, 2024
1 parent f5eb906 commit e305345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pages/Internal/Platform/StaticResponses.elm
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ nextStep allRawResponses staticResponses { errors } =

Just (Err (BackendTask.InternalError (Pages.Internal.FatalError.FatalError buildError))) ->
FinishedWithErrors
[ { title = buildError.title |> String.toUpper
[ { title = "Internal error"
, path = "" -- TODO include path here
, message = buildError.body |> TerminalText.fromAnsiString
, message = TerminalText.fromAnsiString "Please report this error!\n\n" ++ TerminalText.fromAnsiString buildError.body
, fatal = True
}
]
Expand Down

0 comments on commit e305345

Please sign in to comment.