From f94699e07b7bd350b2f6171b16b5b75080c11bd5 Mon Sep 17 00:00:00 2001 From: Austin Cherry Date: Thu, 24 Jan 2019 15:24:50 -0600 Subject: [PATCH] AUTH-1459: improved ssh streaming error message --- carrier/carrier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carrier/carrier.go b/carrier/carrier.go index 655f1b61..5b765011 100644 --- a/carrier/carrier.go +++ b/carrier/carrier.go @@ -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()