Skip to content

Commit

Permalink
stack: properly parse ErrnoException errors
Browse files Browse the repository at this point in the history
They have the code in the stack string in a weird way

This also normalizes the \n ending for all stack strings, and fixes an
issue where thrown Error stacks were being re-parsed incorrectly instead
of respecting the stack that was already parsed in a previous step.
  • Loading branch information
isaacs committed Sep 10, 2023
1 parent 1280a55 commit 1c11b37
Show file tree
Hide file tree
Showing 27 changed files with 151 additions and 40 deletions.
2 changes: 1 addition & 1 deletion src/core/dist/cjs/clean-yaml-object.d.ts.map

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

5 changes: 5 additions & 0 deletions src/core/dist/cjs/clean-yaml-object.js

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

2 changes: 1 addition & 1 deletion src/core/dist/cjs/clean-yaml-object.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/dist/cjs/message-from-error.d.ts.map

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

11 changes: 8 additions & 3 deletions src/core/dist/cjs/message-from-error.js

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

2 changes: 1 addition & 1 deletion src/core/dist/cjs/message-from-error.js.map

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

2 changes: 1 addition & 1 deletion src/core/dist/cjs/test-base.d.ts.map

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

4 changes: 3 additions & 1 deletion src/core/dist/cjs/test-base.js

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

2 changes: 1 addition & 1 deletion src/core/dist/cjs/test-base.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/dist/mjs/clean-yaml-object.d.ts.map

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

5 changes: 5 additions & 0 deletions src/core/dist/mjs/clean-yaml-object.js

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

0 comments on commit 1c11b37

Please sign in to comment.