Cleanup: add a comment

Just a comment that explains why an error is ignored.

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2022-07-28 14:28:02 +02:00
parent b26374d480
commit c42665322b

View File

@ -84,6 +84,7 @@ func (sm *StateMachine) requeueTasksOfWorker(
lastErr = err lastErr = err
} }
// The error is already logged by the log storage.
_ = sm.logStorage.WriteTimestamped(logger, task.Job.UUID, task.UUID, task.Activity) _ = sm.logStorage.WriteTimestamped(logger, task.Job.UUID, task.UUID, task.Activity)
} }