mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-8834: Changes separator between jobs message and details. (#8589)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user