mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat: Use longer stack-traces when error-reporting is enabled (#4674)
This commit is contained in:
committed by
GitHub
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user