From 48d2d14d07fff9a2a2d5bbf36213a8c85ba01009 Mon Sep 17 00:00:00 2001 From: Damian Orzepowski Date: Mon, 29 May 2023 11:34:13 +0200 Subject: [PATCH] fix(BUX-26): webhook tests are failing in unpredictable way --- internal/tests/testpulse/test_websocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tests/testpulse/test_websocket.go b/internal/tests/testpulse/test_websocket.go index a14f508b..f445e333 100644 --- a/internal/tests/testpulse/test_websocket.go +++ b/internal/tests/testpulse/test_websocket.go @@ -94,7 +94,7 @@ func (c *WebsocketClient) Connect() error { // If no error then returned <-chan can be used to listen for messages on websocket channel. func (c *WebsocketClient) Subscribe(channel string) (<-chan string, error) { if err := c.Connect(); err != nil { - return nil, err + c.log.Errorf("Error when trying to connect %v", err) } sub, subscribed, err := c.subscription(channel)