Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

blueslip: Include message for abnormal traces.

Tim Abbottf7fe96f814a3
diff --git a/web/src/blueslip_stacktrace.ts b/web/src/blueslip_stacktrace.ts
index 48bd726ac0b..40a129b6ebe 100644
--- a/web/src/blueslip_stacktrace.ts
+++ b/web/src/blueslip_stacktrace.ts
@@ -123,7 +123,7 @@ export async function display_stacktrace(ex: unknown, message?: string): Promise
"constructor" in prototype
? `thrown ${prototype.constructor.name}`
: "thrown",
- message: ex === undefined ? message : String(ex),
+ message: ex === undefined ? message : `${String(ex)}: ${message}`,
stackframes: [],
});
break;