Skip to content

Commit 7e21f2c

Browse files
committed
fix: Typo in OptimizationMindHandler.exec_taskError
1 parent f0b2839 commit 7e21f2c

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
@@ -213,7 +213,7 @@ def exec_taskError(cls, jid, cachedJobState, errorMsg):
213213
jobState = JobState(jid)
214214
result = jobState.getStatus()
215215
if not result["OK"]:
216-
cls.log.error("Could not get status of job %s: %s" % (jid, result["Message "]))
216+
cls.log.error("Could not get status of job %s: %s" % (jid, result["Message"]))
217217
elif result["Value"][0].lower() == "failed":
218218
return S_OK()
219219
cls.log.notice("Job %s: Setting to Failed|%s" % (jid, errorMsg))

0 commit comments

Comments
 (0)