aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-debug-supervisor.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/module-debug-supervisor.js')
-rw-r--r--modules/core/module-debug-supervisor.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/core/module-debug-supervisor.js b/modules/core/module-debug-supervisor.js
index 485f4e2..78e3a46 100644
--- a/modules/core/module-debug-supervisor.js
+++ b/modules/core/module-debug-supervisor.js
@@ -325,7 +325,7 @@ class DebugSupervisorModule {
// v4.6.38 (A5): auto-file fatal/error-class failures, max 3 per day, deduped by hash.
if (classification.severity === 'fatal' || classification.severity === 'error') {
- this._maybeAutoFile({ hash, message, source, type: classification.type, severity: classification.severity });
+ this._maybeAutoFile({ hash, message, source, type: classification.type, severity: classification.severity, stack });
}
}
@@ -369,6 +369,9 @@ class DebugSupervisorModule {
type: e.type,
severity: e.severity,
count: 1,
+ // Auto-filed reports are the majority of the inbox; without the stack they are
+ // a message with no location (the 2026-10-20 `toLowerCase` report proved it).
+ stack: e.stack ? String(e.stack).split('\n').slice(0, 10).join('\n').slice(0, 1200) : null,
}],
},
};