Merge branch 'main' of ssh://git.homelabbrisbane.com.au:2222/jdownie/shed
This commit is contained in:
commit
e9ee1b47d7
@ -110,10 +110,10 @@ def execute_command(command, cwd = None, dump_error = True):
|
||||
print(f"Error executing command: {result.stderr.strip()}")
|
||||
print(command)
|
||||
return None
|
||||
except subprocess.CalledProcessError as e:
|
||||
except Exception as e:
|
||||
if dump_error:
|
||||
print(f"Error executing command: {e.stderr.strip()}")
|
||||
print(command)
|
||||
print(f"Error executing command: {command}")
|
||||
print(e)
|
||||
return None
|
||||
|
||||
def isFossil(cfg):
|
||||
|
Loading…
x
Reference in New Issue
Block a user