Skip to content

Commit

Permalink
Merge pull request #95 from AthennaIO/develop
Browse files Browse the repository at this point in the history
Dont change exception stack frames
  • Loading branch information
jlenon7 authored Oct 21, 2023
2 parents da53955 + 143e4c3 commit 832ebd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/common",
"version": "4.18.1",
"version": "4.19.0",
"description": "The Athenna common helpers to use in any Node.js ESM project.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
8 changes: 0 additions & 8 deletions src/helpers/Exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ export class Exception extends Error {
{}
).toJSON()

pretty.error.frames = pretty.error.frames.map(frame => {
frame.isApp = true
frame.isNative = true
frame.isModule = true

return frame
})

return YouchTerminal(pretty, options)
}
}

0 comments on commit 832ebd5

Please sign in to comment.