Open sweep-nightly[bot] opened 1 year ago
It looks like an issue has occurred around fetching the files. Perhaps the repo has not been initialized. If this error persists contact team@sweep.dev.
@sweep-nightly[bot], editing this issue description to include more details will automatically make me relaunch.
For bonus GPT-4 tickets, please report this bug on Discord.
🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.
In the file sweepai/core/sweep_bot.py, exceptions are caught and logged without using traceback. This makes it harder to debug issues as the stack trace is not logged.
For example, in the
get_files_to_change
method, exceptions are caught and logged without using traceback.The logger.warning should be replaced with logger.error and include traceback.format_exc() to log the full stack trace.
Please make this change throughout the file to improve error logging.