Add an error message if the error is not an authentication error.
This commit is contained in:
parent
319370a3ff
commit
d09ca33b5f
4 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue