case 4492
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
version: "8.0.39",
|
||||
version: "8.0.40",
|
||||
copyright: "© 1999-2023, Ground Zero Tech-Works Inc."
|
||||
};
|
||||
|
||||
@@ -484,8 +484,17 @@ export default {
|
||||
|
||||
let r = await fetch(that.APIUrl(route), fetchOptions);
|
||||
that.statusEx(r, data);
|
||||
r = await that.extractBodyEx(r);
|
||||
return r;
|
||||
|
||||
let rBody = await that.extractBodyEx(r);
|
||||
//Bad request error need to see the request in the log for troubleshooting more esoteric errors remotely
|
||||
//case 4485
|
||||
if (r.status == 400) {
|
||||
window.$gz.store.commit(
|
||||
"logItem",
|
||||
"API error on upsert: bad request, response body=" + JSON.stringify(rBody)
|
||||
);
|
||||
}
|
||||
return rBody;
|
||||
} catch (error) {
|
||||
if (isLogin == false) {
|
||||
handleError("UPSERT", error, route);
|
||||
|
||||
Reference in New Issue
Block a user