This commit is contained in:
@@ -531,7 +531,6 @@ export default {
|
||||
true
|
||||
);
|
||||
if (res.error) {
|
||||
console.log(res.error);
|
||||
//don't expect this to ever get called but just in case
|
||||
throw new Error(window.$gz.errorHandler.errorToString(res, vm));
|
||||
}
|
||||
@@ -551,6 +550,12 @@ export default {
|
||||
|
||||
await this.step2(res);
|
||||
} catch (error) {
|
||||
if (
|
||||
error.message &&
|
||||
error.message.includes("License agreement consent required")
|
||||
) {
|
||||
window.location.reload();
|
||||
}
|
||||
//bad creds?
|
||||
if (
|
||||
error.message &&
|
||||
@@ -567,6 +572,7 @@ export default {
|
||||
//probably here because server unresponsive.
|
||||
if (error.message) {
|
||||
let msg = error.message;
|
||||
|
||||
if (
|
||||
msg.includes("NetworkError") ||
|
||||
msg.includes("Failed to fetch")
|
||||
|
||||
Reference in New Issue
Block a user