Skip to content

Improve error logging in image generation tool#868

Open
aydnOktay wants to merge 1 commit intoNousResearch:mainfrom
aydnOktay:improve/image-gen-error-logging
Open

Improve error logging in image generation tool#868
aydnOktay wants to merge 1 commit intoNousResearch:mainfrom
aydnOktay:improve/image-gen-error-logging

Conversation

@aydnOktay
Copy link
Contributor

Changes

  • Added exc_info=True to error logging in _upscale_image() function
  • Added exc_info=True to error logging in image_generate_tool() function

Impact

  • Better debugging: Full stack traces now appear in logs when image generation fails
  • Consistency: Matches error logging patterns used throughout the codebase
  • No breaking changes: Only improves logging, doesn't change functionality

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.

1 participant