mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
"fix" 503 errors
This commit is contained in:
@@ -399,6 +399,9 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
throw new Error('401: Missing Credentials');
|
||||
}
|
||||
if ((status === 503) && (data.error.message === 'endpoint temporarily disabled')) {
|
||||
throw new Error('503: Endpoint temporarily disabled');
|
||||
}
|
||||
if (data.error === Object(data.error)) {
|
||||
this.$throw(
|
||||
data.error.status_code || status,
|
||||
|
||||
Reference in New Issue
Block a user