AUTH-1459: improved ssh streaming error message

This commit is contained in:
Austin Cherry 2019-01-24 15:24:50 -06:00
parent f7cf597f54
commit f94699e07b
1 changed files with 1 additions and 1 deletions

View File

@ -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()