diff --git a/server/gitea/client.go b/server/gitea/client.go index bf19d32..3af58fa 100644 --- a/server/gitea/client.go +++ b/server/gitea/client.go @@ -257,7 +257,7 @@ func (client *Client) GiteaGetRepoBranchTimestamp(repoOwner, repoName, branchNam log.Trace().Msgf("[cache] set cache branch %q not found", branchName) jsonToCache, err := json.Marshal(BranchTimestamp{NotFound: true}) if err != nil { - log.Error().Err(err).Msgf("[cache] marshaling empty timestamp has returned an error", cacheKey) + log.Error().Err(err).Msgf("[cache] marshaling empty timestamp for '%s' has returned an error", cacheKey) } if err := client.responseCache.Set(cacheKey, jsonToCache, branchExistenceCacheTimeout); err != nil { log.Error().Err(err).Msg("[cache] error on cache write")