sweepai / sweep

Sweep: open-source AI-powered Software Developer for small features and bug fixes.
https://sweep.dev
Other
7.43k stars 425 forks source link

Sweep: Remove Commented Out Code and Use Traceback in Error Logs in logn/logn.py #1555

Open sweep-nightly[bot] opened 1 year ago

sweep-nightly[bot] commented 1 year ago

In the file logn/logn.py, there are several lines of commented out code that need to be removed. For example, lines starting with "# Todo:" and "# print(self.name, f"Logging before calling {func.name}")".

Additionally, the error logs in the file do not use traceback. For example, in the except block of the wrapper function in the _LogTask class, the exception is raised but traceback is not used. Please use traceback to provide more detailed error logs.

sweep-nightly[bot] commented 1 year ago

0%


❌ Unable to Complete PR

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], please edit the issue description to include more details and I will automatically 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.