0
0
Fork 0

Add an error message if the error is not an authentication error.

This commit is contained in:
Oliver-Akins 2020-08-17 23:45:39 -06:00
parent 319370a3ff
commit d09ca33b5f
4 changed files with 5 additions and 0 deletions

View file

@ -185,6 +185,7 @@ export default {
if (err.response.status == 401) { if (err.response.status == 401) {
return this.auth_expired(err); return this.auth_expired(err);
}; };
console.error(err);
}) })
}; };
}); });

View file

@ -86,6 +86,7 @@ export default {
if (err.response.status == 401) { if (err.response.status == 401) {
return this.auth_expired(err); return this.auth_expired(err);
}; };
console.error(err);
}); });
}, },
} }

View file

@ -107,6 +107,7 @@ export default {
if (err.response.status == 401) { if (err.response.status == 401) {
return this.auth_expired(err); return this.auth_expired(err);
}; };
console.error(err);
}); });
}) })
}, },

View file

@ -139,6 +139,7 @@ export default {
if (err.response.status == 401) { if (err.response.status == 401) {
return this.auth_expired(err); return this.auth_expired(err);
}; };
console.error(err);
}) })
}, },
populate_playlist() { populate_playlist() {
@ -164,6 +165,7 @@ export default {
if (err.response.status == 401) { if (err.response.status == 401) {
return this.auth_expired(err); return this.auth_expired(err);
}; };
console.error(err)
}) })
}, },
}, },