Skip to content

Commit

Permalink
Adding more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Feb 18, 2024
1 parent 3de6a6d commit 8b6c7cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/views/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 8b6c7cc

Please sign in to comment.