Skip to content

Commit

Permalink
feat: Use longer stack-traces when error-reporting is enabled (#4674)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored Nov 21, 2022
1 parent c0e13c2 commit de5b0b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/ErrorReporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit de5b0b0

Please sign in to comment.