From d79a629db0a1d51289a2a8d0a8e2c3e96f7ed4b9 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 18 May 2024 21:06:45 -0700 Subject: [PATCH] Fix tool error message to display the correct error information. --- aider/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index 10585e53c..7abd0a831 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -174,7 +174,7 @@ class Commands: errors = self.coder.linter.lint(fname) except FileNotFoundError as err: self.io.tool_error(f"Unable to lint {fname}") - self.io.tool_error(err) + self.io.tool_error(str(err)) continue if errors: