AUTH-1459: improved ssh streaming error message
This commit is contained in:
parent
f7cf597f54
commit
f94699e07b
|
@ -71,7 +71,7 @@ func serveConnection(logger *logrus.Logger, c net.Conn, originURL string) {
|
|||
func serveStream(logger *logrus.Logger, originURL string, conn io.ReadWriter) error {
|
||||
wsConn, err := createWebsocketStream(originURL)
|
||||
if err != nil {
|
||||
logger.WithError(err).Error("failed to create websocket stream")
|
||||
logger.WithError(err).Errorf("failed to connect to %s\n", originURL)
|
||||
return err
|
||||
}
|
||||
defer wsConn.Close()
|
||||
|
|
Loading…
Reference in New Issue