Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stack-trace-api.md #764

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update stack-trace-api.md #764

wants to merge 2 commits into from

Conversation

php4fan
Copy link

@php4fan php4fan commented May 12, 2024

Added that setting Error.stackTraceLimit = undefined also disables stack traces like setting it to zero does.

I suspect that is true for any non-number value (and also negative numbers, but that is implicit in the statement that any finite integer defines the maximum), but I can only say for sure it's the case for undefined.

Note that at some point in the past setting it to undefined used to have the same effect that Infinity has now. I'm not sure when that changed, it may have been many years ago, but at some point it was true, at least in Chrome.

Copy link

google-cla bot commented May 12, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@camillobruni
Copy link
Contributor

Could you sign the CLA to land your PR? https://cla.developers.google.com/. Thanks!

@php4fan
Copy link
Author

php4fan commented May 29, 2024

Could you sign the CLA to land your PR?

I already did

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants