Skip to content

Commit af49cff

Browse files
authored
Merge pull request #5657 from chrisburr/cherry-pick-2-0c30f684a-integration
[sweep:integration] Fix typo in OptimizationMindHandler.exec_taskError
2 parents 1d10868 + 2b6ff00 commit af49cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Service/OptimizationMindHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ def exec_taskError(cls, jid, cachedJobState, errorMsg):
210210
if result["Value"][0].lower() == "failed":
211211
return S_OK()
212212
else:
213-
cls.log.error("Could not get status of job %s: %s" % (jid, result["Message "]))
213+
cls.log.error("Could not get status of job %s: %s" % (jid, result["Message"]))
214214
cls.log.notice("Job %s: Setting to Failed|%s" % (jid, errorMsg))
215215
return jobState.setStatus("Failed", errorMsg, source="OptimizationMindHandler")

0 commit comments

Comments
 (0)