Skip to content

Commit

Permalink
update libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ais-one committed Sep 10, 2023
1 parent 9a7eae3 commit 450cdb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/node/express/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ module.exports = () => {
const DEFAULT_STACK_TRACE_LIMIT = 3 // default limit error stack trace to 3 level
const { STACK_TRACE_LIMIT = DEFAULT_STACK_TRACE_LIMIT } = process.env
Error.stackTraceLimit = Number(STACK_TRACE_LIMIT) || DEFAULT_STACK_TRACE_LIMIT
}
}

0 comments on commit 450cdb0

Please sign in to comment.