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