Skip to content

Commit 2b6ff00

Browse files
committed
sweep: #5639 Fix typo in OptimizationMindHandler.exec_taskError
1 parent 31d54d5 commit 2b6ff00

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)