Add more logs

This commit is contained in:
Dave Gallant
2022-08-21 17:48:26 +00:00
parent afa440e765
commit 4fbc633978
3 changed files with 2 additions and 24 deletions

View File

@@ -110,7 +110,7 @@ func (a *App) getDeals(id int, firstPage int, lastPage int) []Topic {
err = json.Unmarshal([]byte(body), &response)
if err != nil {
log.Warn().Msgf("could not unmarshal response body: %s\n", err)
log.Warn().Msgf("could not unmarshal response body: %s\n %s", err)
}
t = append(t, response.Topics...)