This commit is contained in:
2018-11-07 15:39:46 +00:00
parent dadeb45342
commit e2330974f6
2 changed files with 7 additions and 2 deletions

View File

@@ -67,8 +67,9 @@ export default {
return data;
})
.catch(function(error) {
console.log("Request failed", error);
return error;
console.log("AUTH.JS::authenticatepromise() -> Request failed", error);
//return error;
return Promise.reject(error);
});
}
};

View File

@@ -49,6 +49,10 @@ export default {
"LOGIN.VUE::login() -> PROMISE VERSION RESPONSE:",
response
);
})
.catch(function(error) {
// eslint-disable-next-line
console.log("LOGIN.VUE::login() !CATCH! -> Request failed", error);
});
}
}