mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
refactor: comment out error logging for lexer failures
This commit is contained in:
parent
cc1f5cd4c2
commit
ec18b190e9
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ class RepoMap:
|
||||||
try:
|
try:
|
||||||
lexer = guess_lexer_for_filename(fname, code)
|
lexer = guess_lexer_for_filename(fname, code)
|
||||||
except Exception as ex: # On Windows, bad ref to time.clock which is deprecated?
|
except Exception as ex: # On Windows, bad ref to time.clock which is deprecated?
|
||||||
self.io.tool_error(f"Error lexing {fname}: {ex}")
|
# self.io.tool_error(f"Error lexing {fname}: {ex}")
|
||||||
return
|
return
|
||||||
|
|
||||||
tokens = list(lexer.get_tokens(code))
|
tokens = list(lexer.get_tokens(code))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue