mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-05 18:24:24 -04:00
dev-server: print remote server errors
This commit is contained in:
parent
bcf3741ab4
commit
6ea3601718
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ if (remoteHost) {
|
|||
ws.close();
|
||||
});
|
||||
|
||||
client.on("error", () => {
|
||||
client.on("error", (err) => {
|
||||
console.log(err);
|
||||
ws.close(WS_BAD_GATEWAY);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue