Better error message in console proxy.
This commit is contained in:
parent
21762ac1aa
commit
909b9480e4
@ -514,8 +514,8 @@ const setUpConsoleProxy = (webServer, xo) => {
|
||||
webSocketServer.handleUpgrade(req, socket, head, connection => {
|
||||
proxyConsole(connection, vmConsole, xapi.sessionId)
|
||||
})
|
||||
} catch (_) {
|
||||
console.error(_)
|
||||
} catch (error) {
|
||||
console.error(error && error.stack || error)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user