mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 15:33:47 +01:00
dev-server: print remote server errors
This commit is contained in:
parent
bcf3741ab4
commit
6ea3601718
@ -63,7 +63,8 @@ if (remoteHost) {
|
||||
ws.close();
|
||||
});
|
||||
|
||||
client.on("error", () => {
|
||||
client.on("error", (err) => {
|
||||
console.log(err);
|
||||
ws.close(WS_BAD_GATEWAY);
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user