diff --git a/testing/talos/talos/tests/devtools/addon/content/damp.js b/testing/talos/talos/tests/devtools/addon/content/damp.js index 1645922ba1a0..412eaced01c7 100644 --- a/testing/talos/talos/tests/devtools/addon/content/damp.js +++ b/testing/talos/talos/tests/devtools/addon/content/damp.js @@ -390,8 +390,9 @@ Damp.prototype = { }, exception(e) { - this.error(e); - dump(e.stack + "\n"); + const str = + "Exception: " + (e?.message || e) + "\n" + (e?.stack || "No stack"); + this.error(str); }, // Waits for any pending operations that may execute on Firefox startup and that