fix(assistants): improve error logging in chat to show actual error details - #537
Open
gokhanozdemir wants to merge 2 commits into
Open
fix(assistants): improve error logging in chat to show actual error details#537gokhanozdemir wants to merge 2 commits into
gokhanozdemir wants to merge 2 commits into
Conversation
gokhanozdemir
force-pushed
the
fix/499-assistant-chat-error-logging
branch
from
September 5, 2026 17:08
e1e7c8f to
38b9eb4
Compare
…etails Fixes codemie-ai#499 - Serialize error objects properly to capture message, name, code, and stack trace for debugging.
gokhanozdemir
force-pushed
the
fix/499-assistant-chat-error-logging
branch
from
September 5, 2026 17:33
38b9eb4 to
bbd923a
Compare
gokhanozdemir
marked this pull request as ready for review
September 5, 2026 17:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improve error logging in the assistants chat command to serialize error objects properly instead of logging "[object Object]".
Motivation
The assistants chat command was logging error objects as '[object Object]' instead of serializing them properly, making it impossible to determine the real cause of failures. Users and maintainers couldn't debug issues effectively because the actual error details were lost.
Changes
src/cli/commands/assistants/chat/index.tsto add detailed error loggingTesting
Breaking Changes
None
Related Issues
Fixes #499