feat: Use longer stack-traces when error-reporting is enabled (#4674)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2022-11-21 17:54:29 +01:00 committed by GitHub
parent c0e13c2a8f
commit de5b0b03fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;