mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-08 06:08:27 +02:00
Show WS error in toast
This commit is contained in:
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@@ -2990,7 +2990,7 @@ class PointerClient {
|
||||
});
|
||||
this.#socket.addEventListener("error", (event) => {
|
||||
BxLogger.error(LOG_TAG, event);
|
||||
Toast.show("Cannot setup mouse");
|
||||
Toast.show("Cannot setup mouse: " + event);
|
||||
});
|
||||
this.#socket.addEventListener("close", (event) => {
|
||||
this.#socket = null;
|
||||
|
Reference in New Issue
Block a user