mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
feat: Use longer stack-traces when error-reporting is enabled (#4674)
This commit is contained in:
parent
c0e13c2a8f
commit
de5b0b03fe
|
@ -14,6 +14,9 @@ export const initErrorHandling = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
// Collect longer stacktraces
|
||||
Error.stackTraceLimit = 50;
|
||||
|
||||
const dsn = config.getEnv('diagnostics.config.sentry.dsn');
|
||||
const { N8N_VERSION: release, ENVIRONMENT: environment } = process.env;
|
||||
|
||||
|
|
Loading…
Reference in a new issue