Skip to content

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

Open
TerenceSperringerJr wants to merge 1 commit intomasterfrom
version-2
Open

modified exception handler to resolve similar to request.timeout#18
TerenceSperringerJr wants to merge 1 commit intomasterfrom
version-2

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

Comments