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:
253
253
stderr = cmdres .stderr .strip ()
254
254
returncode = cmdres .returncode
255
255
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 )
257
257
258
258
if stderr :
259
- raise ModelicaSystemError (f"Error running command { cmdl } : { stderr } " )
259
+ raise ModelicaSystemError (f"Error running command { repr ( cmdl ) } : { stderr } " )
260
260
except subprocess .TimeoutExpired :
261
261
raise ModelicaSystemError (f"Timeout running command { repr (cmdl )} " )
262
262
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
264
264
265
265
return returncode
266
266
You can’t perform that action at this time.
0 commit comments