I was hoping to roll up my 4 modified files into one pull request, but I don't know how to do that. My changes add better error handling and some more verbose logging when in debug mode.
Added 5 try-catch blocks around tx.executeSql calls.
Thanks! But can you perhaps fix your code indentation and coding style slightly to fit the rest of persistence.js? i.e. move curly braces to the end of the line, and indent code properly?
Modified code formatting to match the rest of the project. My apologi…
…es, I just copied-and-pasted from my code and assumed github had a code (re-)formatter.