@onehat/data 1.15.3 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/Repository/Ajax.js
CHANGED
|
@@ -132,7 +132,6 @@ class AjaxRepository extends Repository {
|
|
|
132
132
|
|
|
133
133
|
this.registerEvents([
|
|
134
134
|
'beforeLoad',
|
|
135
|
-
'connectionError',
|
|
136
135
|
]);
|
|
137
136
|
|
|
138
137
|
// Respond to Repository events
|
|
@@ -836,7 +835,8 @@ class AjaxRepository extends Repository {
|
|
|
836
835
|
console.log(url + ' error', error);
|
|
837
836
|
console.log('response:', error.response);
|
|
838
837
|
}
|
|
839
|
-
this.
|
|
838
|
+
this.throwError(error);
|
|
839
|
+
return;
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
|