From 8b6c7ccdde7c29d57bc736113aa0d5a4d4d5f249 Mon Sep 17 00:00:00 2001 From: Liam Burnand Date: Sun, 18 Feb 2024 16:39:29 +0000 Subject: [PATCH] Adding more logging --- server/views/start.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/views/start.go b/server/views/start.go index d37ba95..9947a2a 100644 --- a/server/views/start.go +++ b/server/views/start.go @@ -84,6 +84,7 @@ func (v *Views) StartFunc(c echo.Context) error { streams1, err := v.store.GetStreams() if err != nil { + log.Printf("failed to get streams: %+v", err) response.Error = fmt.Sprintf("failed to get streams: %+v", err) return c.JSON(http.StatusOK, response) } @@ -102,6 +103,7 @@ func (v *Views) StartFunc(c echo.Context) error { stored, err := v.store.GetStored() if err != nil { + log.Printf("failed to get stored: %+v", err) response.Error = fmt.Sprintf("failed to get stored: %+v", err) return c.JSON(http.StatusOK, response) }