File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ def serialize(self, if_static=False):
127127
128128 def register_task (self , task ):
129129 if self .belonging_jobs :
130- raise RuntimeError ("Not allowed to register tasks after generating jobs."
130+ raise RuntimeError ("Not allowed to register tasks after generating jobs. "
131131 "submission hash error {self}" .format (self = self ))
132132 self .belonging_tasks .append (task )
133133
134134 def register_task_list (self , task_list ):
135135 if self .belonging_jobs :
136- raise RuntimeError ("Not allowed to register tasks after generating jobs."
136+ raise RuntimeError ("Not allowed to register tasks after generating jobs. "
137137 "submission hash error {self}" .format (self = self ))
138138 self .belonging_tasks .extend (task_list )
139139
@@ -242,8 +242,8 @@ def handle_unexpected_submission_state(self):
242242 f"Meet errors will handle unexpected submission state.\n "
243243 f"Debug information: remote_root=={ self .machine .context .remote_root } .\n "
244244 f"Debug information: submission_hash=={ self .submission_hash } .\n "
245- f"Please check the dirs and scripts in remote_root"
246- f"The job information mentioned above may help"
245+ f"Please check the dirs and scripts in remote_root. "
246+ f"The job information mentioned above may help. "
247247 ) from e
248248
249249 # not used here, submitting job is in handle_unexpected_submission_state.
You can’t perform that action at this time.
0 commit comments