Skip to content

Commit

Permalink
Refactor error message handling in aider_check_update
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed May 9, 2024
1 parent 569e28d commit e7f3aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zcmds/cmds/common/aicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def aider_check_update() -> AiderUpdateResult:
# print(out.get_update_msg())
return out
except Exception as err: # pylint: disable=broad-except
warnings.warn(f"Failed to parse update message: {err}")
warnings.warn(f"Failed to parse update message: {lines}\n because of {err}")
pass
return AiderUpdateResult(True, "Unknown", "Unknown")

Expand Down

0 comments on commit e7f3aa7

Please sign in to comment.