Open sweep-nightly[bot] opened 1 year ago
I am currently looking into this ticket! I will update the progress of the ticket in this comment. I am currently searching through your code, looking for relevant snippets.
I'm searching for relevant snippets in your repository. If this is your first time using Sweep, I'm indexing your repository. This may take up to 5 minutes. I'll let you know when I'm done.
🎉 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. Join Our Discord
In the file
sweepai/api.py
, the error logs during exceptions do not include traceback information. This makes it harder to debug the source of the error.For example, in the function
terminate_thread
, the exception is logged without traceback:To include traceback information, you can use the
traceback
module in Python. Here's an example of how you can modify the code:Please apply this change to all instances where exceptions are logged in this file.