mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
CB-6781: Continue previous commit with one new instance (This closes #30)
This commit is contained in:
@@ -829,7 +829,7 @@ public class FileTransfer extends CordovaPlugin {
|
||||
if (fileEntry != null) {
|
||||
result = new PluginResult(PluginResult.Status.OK, fileEntry);
|
||||
} else {
|
||||
JSONObject error = createFileTransferError(CONNECTION_ERR, source, target, connection);
|
||||
JSONObject error = createFileTransferError(CONNECTION_ERR, source, target, connection, null);
|
||||
Log.e(LOG_TAG, "File plugin cannot represent download path");
|
||||
result = new PluginResult(PluginResult.Status.IO_EXCEPTION, error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user