@hzab/data-model 1.3.0 → 1.3.1
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/data-model.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/data-model.js
CHANGED
|
@@ -382,7 +382,7 @@ class DataModel {
|
|
|
382
382
|
}
|
|
383
383
|
const response = err.response || err;
|
|
384
384
|
if (response) {
|
|
385
|
-
const message = this.handleMsg(response, { useStatusText });
|
|
385
|
+
const message = this.handleMsg(response, { useStatusText: true });
|
|
386
386
|
const error = new Error(message);
|
|
387
387
|
error.code = response.status;
|
|
388
388
|
error.response = response;
|