mirror of
https://gitee.com/shuto/cordova-plugin-dbcopy.git
synced 2024-10-06 01:32:06 +08:00
Error message when trying to copy the database
This commit is contained in:
parent
89e9c153ab
commit
3a0afd8c61
@ -71,10 +71,10 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
throw new Error(err.getMessage());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.d("CordovaLog","DB Not Present in www folder");
|
||||
Log.d("CordovaLog",e.getMessage());
|
||||
try {
|
||||
response.put("message", "DB Not Present in www folder");
|
||||
response.put("code", 400);
|
||||
response.put("message", e.getMessage());
|
||||
response.put("code", 400);
|
||||
plresult = new PluginResult(PluginResult.Status.ERROR, response);
|
||||
callbackContext.sendPluginResult(plresult);
|
||||
} catch (JSONException err1) {
|
||||
|
Loading…
Reference in New Issue
Block a user