datownia/datowniasdk — pull request #1 by carldr (2012-12-18 18:24:02+00:00)
Title: If there is an error downloading the SQLite database, abort instead of overwriting the existing database with the JSON payload containing the error.

I noticed this when I was getting the 'internal server error' earlier, it would overwrite my local database file and render the site unusable.