Skip to content

Commit

Permalink
feat: add logging for schedule data updates in cleanup manager
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed Dec 17, 2024
1 parent 8494e91 commit fb7a782
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/cleanupmanager/scheddata.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (db *DB) CleanupScheduleData(ctx context.Context, j *river.Job[SchedDataArg
return false, fmt.Errorf("marshal schedule data: %w", err)
}

db.logger.InfoContext(ctx, "Updated schedule data.", slog.String("schedule_id", dataRow.ScheduleID.String()))
return false, gadb.New(tx).CleanupMgrUpdateScheduleData(ctx, gadb.CleanupMgrUpdateScheduleDataParams{
ScheduleID: dataRow.ScheduleID,
Data: rawData,
Expand Down

0 comments on commit fb7a782

Please sign in to comment.