This commit is contained in:
2020-01-07 00:29:52 +00:00
parent 697a9501d8
commit af41b5ec28
2 changed files with 6 additions and 4 deletions

View File

@@ -132,10 +132,10 @@ export default {
apiErrorToHumanString(apiError) {
//empty error object?
if (!apiError) {
return "apiErrorToHumanString():: Empty API eror, unknown";
return "(E18) - apiErrorToHumanString():: Empty API eror, unknown";
}
//convert to readable string
return JSON.stringify(apiError);
return "(E18) - " + JSON.stringify(apiError);
},
patchAuthorizedHeaders() {
return {