CityOfPhiladelphia / property2

Find information on real estate property in Philadelphia.
https://property.phila.gov
ISC License
6 stars 7 forks source link

AIS error handler isn't safe for IE9 #209

Closed bertday closed 6 years ago

bertday commented 6 years ago

Per this Sentry issue:

https://sentry.io/phila/property/issues/407296916/

When AIS returns an error, the jqXHR object doesn't have a field called responseJSON on IE9 for some reason, which was being used to get the HTTP status code. See this line:

https://github.com/CityOfPhiladelphia/property2/blob/gh-pages/js/views/results.js#L171