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

modified exception handler to resolve similar to request.timeout #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TerenceSperringerJr
Copy link
Contributor

No description provided.

try {
features.innerHTML = "<b>Result of the querying polgon(s):</b><br/>" + JSON.stringify(JSON.parse(response), null, 2);
}
catch(exception){
Copy link
Contributor Author

@TerenceSperringerJr TerenceSperringerJr Feb 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in theory this catch should never hit since we now reformat exceptions prior to resolve()

but if something was passed that wasn't an exception but still didn't parse correctly within resolve(), this will let us know what happened

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.

1 participant