Wrap all cordova errors since none of them print a useful stack trace