diff options
| author | David Schlachter <t480-debian-git@schlachter.ca> | 2025-11-10 09:10:41 -0500 |
|---|---|---|
| committer | David Schlachter <t480-debian-git@schlachter.ca> | 2025-11-10 09:10:41 -0500 |
| commit | 8d47cd773142132e48fab2b04e4b71126d7bb7d5 (patch) | |
| tree | bdb3e6aa88aabaf0e4e7ab422bc6c98b294cc37f /main.go | |
| parent | 107bf7368d405f68eb1256869850b882c80d6649 (diff) | |
Improve error message
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } } |
