Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Conversation

@digitalinfinity
Copy link
Contributor

Error.captureStackTrace did not convert the type of line and column
numbers to numbers while creating the v8 capture objects. This breaks
modules which assumes number types. Changed to call parseInt if line
and column numbers are defined

Note: this fixes the failing Winston test in CITGM

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

chakrashim

Error.captureStackTrace did not convert the type of line and column
numbers to numbers while creating the v8 capture objects. This breaks
modules which assumes number types. Changed to call parseInt if line
and column numbers are defined
digitalinfinity added a commit that referenced this pull request Mar 8, 2018
Error.captureStackTrace did not convert the type of line and column
numbers to numbers while creating the v8 capture objects. This breaks
modules which assumes number types. Changed to call parseInt if line
and column numbers are defined

PR-URL: #483
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>
@digitalinfinity
Copy link
Contributor Author

Landed in 887e882. Thanks for the reviews!

@digitalinfinity digitalinfinity deleted the stacktrace_fix branch March 8, 2018 03:56
kfarnung pushed a commit to kfarnung/node-chakracore that referenced this pull request Mar 8, 2018
Error.captureStackTrace did not convert the type of line and column
numbers to numbers while creating the v8 capture objects. This breaks
modules which assumes number types. Changed to call parseInt if line
and column numbers are defined

PR-URL: nodejs#483
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Jimmy Thomson <jithomso@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants