MM-8834: Changes separator between jobs message and details. (#8589)

This commit is contained in:
Martin Kraft
2018-04-09 09:39:57 -04:00
committed by GitHub
parent be972fde28
commit ffa24fbcb2

View File

@@ -81,7 +81,7 @@ func (srv *JobServer) SetJobError(job *model.Job, jobError *model.AppError) *mod
if job.Data == nil {
job.Data = make(map[string]string)
}
job.Data["error"] = jobError.Message + " (" + jobError.DetailedError + ")"
job.Data["error"] = jobError.Message + " " + jobError.DetailedError
if result := <-srv.Store.Job().UpdateOptimistically(job, model.JOB_STATUS_IN_PROGRESS); result.Err != nil {
return result.Err