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
Add a link
Reference in a new issue