mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 08:13:52 +02:00
Show endpoint in errors
This commit is contained in:
@@ -408,12 +408,13 @@ speechSynthesis.getVoices();
|
||||
this.$throw(
|
||||
data.error.status_code || status,
|
||||
data.error.message,
|
||||
data.error.data
|
||||
endpoint
|
||||
);
|
||||
} else if (typeof data.error === 'string') {
|
||||
this.$throw(
|
||||
data.status_code || status,
|
||||
data.error
|
||||
data.error,
|
||||
endpoint
|
||||
);
|
||||
}
|
||||
this.$throw(status, data);
|
||||
|
||||
Reference in New Issue
Block a user