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

Error Stack fix #212

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Error Stack fix #212

wants to merge 10 commits into from

Conversation

arsu-leo
Copy link

When testing for stack on errors, the statements were reversed.
For instance, if user code throws an exception, it states "No Error Stack Available" on the error making it quite difficult to debug.
Furthermore, if client browser's Errors would not have the stack field, the fixed statements would throw an exception.

Matt Cowan and others added 10 commits February 15, 2019 16:13
In browsers when localStorage access is disabled for your domain the
browsers will throw an Access denied error if you try to even read the
localStorage property. This commit adds try/catch logic to handle the
error and use the in-memory fallback.

Signed-off-by: Matt Cowan <mcowan@atlassian.com>
Signed-off-by: Mark Evans <mark.evans2@sky.uk>
…ments

Signed-off-by: Mark Evans <mark.evans2@sky.uk>
Handle cases where localStorage access is denied
Also-by: Piotr Kuczynski <piotr.kuczynski@gmail.com>
Signed-off-by: Lleonard Subirana <arsu.leo@gmail.com>
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.

None yet

3 participants