This is a good point. I have been careful to make errors propagate at least through the model and database code. At the UI view level, I'm not sure what to do on an error.

Does FirefoxOS have an error reporting API? Should it trigger the app to restart? Or display an alert message? Do I just log to console?