Skip to content

Commit

Permalink
chore: log more data
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Oct 6, 2024
1 parent eaa719a commit 9a3612a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/collections/infra/mysql_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ func (r mysqlRepo) GetSubjectEpisodesCollection(

func (r mysqlRepo) updateSubject(ctx context.Context, subjectID model.SubjectID) {
if err := r.reCountSubjectCollection(ctx, subjectID); err != nil {
r.log.Error("failed to update collection counts", zap.Error(err))
r.log.Error("failed to update collection counts", zap.Error(err), zap.Uint32("subject_id", subjectID))
}
}

Expand Down

0 comments on commit 9a3612a

Please sign in to comment.