Fix string conversation

This commit is contained in:
Zoltán Papp
2025-11-17 12:02:58 +01:00
parent a1457f541b
commit f3639675e7

View File

@@ -171,7 +171,7 @@ func (j *Job) ApplyResponse(resp *proto.JobResponse) error {
case proto.JobStatus_failed:
j.Status = JobStatusFailed
if len(resp.Reason) > 0 {
j.FailedReason = fmt.Sprintf("Client error: '%v'", resp.Reason)
j.FailedReason = fmt.Sprintf("Client error: '%s'", resp.Reason)
}
return nil
default: