nrabinowitz / gapvis

A visual interface for reading ancient texts for the Google Ancient Places project
http://googleancientplaces.wordpress.com
Other
126 stars 27 forks source link

Better data-load error handling #9

Closed nrabinowitz closed 12 years ago

nrabinowitz commented 13 years ago

Right now, there's very little error handling if the API returns bad data (e.g. out of memory errors). At a minimum, I'd like to let the user know what's going on, and perhaps restart the request after a waiting period if the issue is a server error.

nrabinowitz commented 12 years ago

It turns out this is quite tricky with JSONP - it might only be possible if I move Backbone.sync back to JSON, which makes development more of a pain. Probably the right choice though.