mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-04-24 00:00:03 +08:00
FIX use same error message for abort as on android platform
This commit is contained in:
Vendored
+1
-1
@@ -239,7 +239,7 @@ function sendRequest(method, withData, opts, success, failure) {
|
||||
xhr.onabort = function () {
|
||||
return onFail({
|
||||
status: -8,
|
||||
error: 'Request aborted',
|
||||
error: 'Request was aborted',
|
||||
url: url,
|
||||
headers: {}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user