Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

This PR adds a dedicated error logging service for Supabase to improve debugging of the 'An unknown chat error occurred' issue.

Changes

  • Created a new error logging service in the Supabase package
  • Enhanced error handling in the chat functionality to log detailed error information
  • Improved error message classification to provide more specific error messages
  • Added retry mechanism for transient errors
  • Created SQL migration for the error_logs table

This implementation will help identify patterns in errors by user, error type, and time, making it easier to debug why some users are consistently getting the 'unknown chat error' message.

Link to Devin run: https://app.devin.ai/sessions/f832334d844043aeb4a3b6816903dd24
Requested by: kiet@onlook.dev

Co-Authored-By: kiet@onlook.dev <kiet@onlook.dev>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@Kitenite Kitenite closed this Apr 13, 2025
@Kitenite Kitenite deleted the devin/1743981106-improve-chat-error-logging branch May 17, 2025 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants