File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -253,14 +253,14 @@ def run(self) -> int:
253253 stderr = cmdres .stderr .strip ()
254254 returncode = cmdres .returncode
255255
256- logger .debug ("OM output for command %s:\n %s" , cmdl , stdout )
256+ logger .debug ("OM output for command %s:\n %s" , repr ( cmdl ) , stdout )
257257
258258 if stderr :
259- raise ModelicaSystemError (f"Error running command { cmdl } : { stderr } " )
259+ raise ModelicaSystemError (f"Error running command { repr ( cmdl ) } : { stderr } " )
260260 except subprocess .TimeoutExpired :
261261 raise ModelicaSystemError (f"Timeout running command { repr (cmdl )} " )
262262 except Exception as ex :
263- raise ModelicaSystemError (f"Error running command { cmdl } " ) from ex
263+ raise ModelicaSystemError (f"Error running command { repr ( cmdl ) } " ) from ex
264264
265265 return returncode
266266
You can’t perform that action at this time.
0 commit comments