todoist-repeater

Create recurring tasks in Todoist with cron-style syntax
Log | Files | Refs | README

commit 8d47cd773142132e48fab2b04e4b71126d7bb7d5
parent 107bf7368d405f68eb1256869850b882c80d6649
Author: David Schlachter <t480-debian-git@schlachter.ca>
Date:   Mon, 10 Nov 2025 09:10:41 -0500

Improve error message

Diffstat:
Mmain.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go @@ -35,7 +35,7 @@ type Task struct { func (t Task) Run() { _, err := backoff.Retry(context.Background(), func() (bool, error) { return true, createTask(t.Name) }, backoff.WithBackOff(backoff.NewExponentialBackOff())) if err != nil { - log.Printf("Failed to create task: %s", err) + log.Printf("Failed to create task '%s': %s", t.Name, err) } }