chore: disambiguate logs in workload_sequencer
While trying to debug we realized
two codepaths result in the same error and that
the error is not meaningful enough to assist in
debugging.
@@ -115,7 +115,7 @@ func (s *trialWorkloadSequencer) WorkloadCompleted(
if msg.Workload != w {
if msg.Workload.Kind != searcher.CheckpointModel {
return errors.Errorf(
- "illegal non-checkpoint workload completed message received: %s", msg.Workload)
+ "illegal completed message received: expected checkpoint or %s, got %s", w, msg.Workload)
}
}
}
