mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-21 13:52:23 +02:00
Show errors in action log
This commit is contained in:
@@ -32,7 +32,7 @@ def convertMachine(baseName, verbose=True, extraArgs=None):
|
|||||||
if app.returncode == 0:
|
if app.returncode == 0:
|
||||||
cmd = [ '.pio/build/' + pioEnv + '/program' ]
|
cmd = [ '.pio/build/' + pioEnv + '/program' ]
|
||||||
out_filename = "yaml/" + Path(baseName).stem + ".yaml"
|
out_filename = "yaml/" + Path(baseName).stem + ".yaml"
|
||||||
proc = subprocess.run(cmd, env=env, stdout=open(out_filename, "w"), stderr=subprocess.STDOUT, bufsize=1)
|
proc = subprocess.run(cmd, env=env, stdout=open(out_filename, "w"), bufsize=1)
|
||||||
print("FluidNC Configuration written to", out_filename)
|
print("FluidNC Configuration written to", out_filename)
|
||||||
# Sometimes proc.returncode seems to be 245 even when things are okay,
|
# Sometimes proc.returncode seems to be 245 even when things are okay,
|
||||||
# so we just return 0.
|
# so we just return 0.
|
||||||
|
Reference in New Issue
Block a user