Cleanup: add a comment
Just a comment that explains why an error is ignored. No functional changes.
This commit is contained in:
parent
b26374d480
commit
c42665322b
@ -84,6 +84,7 @@ func (sm *StateMachine) requeueTasksOfWorker(
|
||||
lastErr = err
|
||||
}
|
||||
|
||||
// The error is already logged by the log storage.
|
||||
_ = sm.logStorage.WriteTimestamped(logger, task.Job.UUID, task.UUID, task.Activity)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user