Skip to content

Commit 9034eb8

Browse files
committed
'do_create_ispyb_job' function in TransportManager should return a dict instead of boolean upon failure
1 parent 33d84a2 commit 9034eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/server/ispyb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def do_create_ispyb_job(
614614
dcid = record.dataCollectionId
615615
if not dcid:
616616
log.error("Can not create job: DCID not specified")
617-
return False
617+
return {"success": False, "return_value": None}
618618

619619
jp = self.ispyb.mx_processing.get_job_params()
620620
jp["automatic"] = record.automatic

0 commit comments

Comments
 (0)