mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
fixes #1276
This commit is contained in:
parent
4063015560
commit
387df7f1db
1 changed files with 2 additions and 2 deletions
|
@ -84,6 +84,6 @@ def run_cmd_pexpect(command, verbose=False):
|
|||
child.close()
|
||||
return child.exitstatus, output.getvalue().decode("utf-8", errors="replace")
|
||||
|
||||
except pexpect.ExceptionPexpect as e:
|
||||
error_msg = f"Error running command: {e}"
|
||||
except (pexpect.ExceptionPexpect, TypeError) as e:
|
||||
error_msg = f"Error running command {command}: {e}"
|
||||
return 1, error_msg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue