Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

NPE when calling zone.getLongStackTrace(); #47

Closed
mhevery opened this issue Feb 20, 2015 · 1 comment
Closed

NPE when calling zone.getLongStackTrace(); #47

mhevery opened this issue Feb 20, 2015 · 1 comment
Assignees

Comments

@mhevery
Copy link
Contributor

mhevery commented Feb 20, 2015

When calling zone.getLongStackTrace() from console (during debug). The method throws an NPE because exception is not specified. It would be useful to make the exception optional so that it would be easy to query the current location.

The issue is in long-stack-trace-zone.js#L50

A simple check to ignore null exception should suffice.

@btford
Copy link
Contributor

btford commented Feb 20, 2015

👍

@btford btford self-assigned this Feb 20, 2015
@btford btford closed this as completed in 26a4dc2 Feb 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants