Merge branch 'main' of ssh://git.homelabbrisbane.com.au:2222/jdownie/shed

This commit is contained in:
James Downie 2025-07-21 19:53:22 +10:00
commit e9ee1b47d7

View File

@ -110,10 +110,10 @@ def execute_command(command, cwd = None, dump_error = True):
print(f"Error executing command: {result.stderr.strip()}") print(f"Error executing command: {result.stderr.strip()}")
print(command) print(command)
return None return None
except subprocess.CalledProcessError as e: except Exception as e:
if dump_error: if dump_error:
print(f"Error executing command: {e.stderr.strip()}") print(f"Error executing command: {command}")
print(command) print(e)
return None return None
def isFossil(cfg): def isFossil(cfg):