Skip to content

Commit

Permalink
logging cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-markin committed Jun 8, 2024
1 parent becb195 commit afa2791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo_to_text/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def save_repo_to_text(path='.', output_dir=None) -> str:
with open(file_path, 'r', encoding='utf-8') as f:
file.write(f.read())
except UnicodeDecodeError:
logging.error(f'Could not decode file contents: {file_path}')
logging.debug(f'Could not decode file contents: {file_path}')
file.write('[Could not decode file contents]\n')
file.write('\n```\n')

Expand Down

0 comments on commit afa2791

Please sign in to comment.