We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38695aa + 57ded33 commit 0b4ca6eCopy full SHA for 0b4ca6e
app/ui/src/components/user_messages.ts
@@ -38,7 +38,7 @@ export class UserMessages {
38
networkError(error: NetworkError | Error, message: String = 'An unexpected network error occurred. Please try again later') {
39
let description = ''
40
if (error instanceof NetworkError) {
41
- description = error.errorDescription
+ description = `(${error.statusCode})` + (error.errorDescription != null ? " " + error.errorDescription : "")
42
} else if (error instanceof Error) {
43
description = error.message
44
}
0 commit comments