extra logging

This commit is contained in:
Erik Winter 2024-12-31 12:45:33 +01:00
parent 2d8c7556db
commit 2f90580009
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ func (r *Recur) Recur() error {
if err := r.repoSync.Update(newItem, time.Now()); err != nil { if err := r.repoSync.Update(newItem, time.Now()); err != nil {
return err return err
} }
r.logger.Info("spawned instance", "newID", newItem.ID, "date", newItem.Date)
// update recurrer // update recurrer
i.RecurNext = item.FirstRecurAfter(i.Recurrer, i.RecurNext) i.RecurNext = item.FirstRecurAfter(i.Recurrer, i.RecurNext)