From 50555643d19d5547ddfc01ad46557c73ea9b864f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Aug 2024 07:42:40 -0700 Subject: [PATCH] refactor: remove unused error logging in AutoCompleter --- aider/io.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index a4230e6ca..24108b77b 100644 --- a/aider/io.py +++ b/aider/io.py @@ -83,7 +83,6 @@ class AutoCompleter(Completer): try: lexer = guess_lexer_for_filename(fname, content) except Exception as ex: # On Windows, bad ref to time.clock which is deprecated - self.tool_error(f"Error lexing {fname}: {ex}") continue tokens = list(lexer.get_tokens(content))