Skip to content

fix: add exc_info=True to image generation error logging#960

Merged
teknium1 merged 1 commit intomainfrom
hermes/hermes-20ea56c0
Mar 11, 2026
Merged

fix: add exc_info=True to image generation error logging#960
teknium1 merged 1 commit intomainfrom
hermes/hermes-20ea56c0

Conversation

@teknium1
Copy link
Contributor

Cherry-picked from PR #868 by @aydnOktay (207 commits behind, applied manually).

Adds exc_info=True to two logger.error() calls in tools/image_generation_tool.py so error logs include full stack traces instead of just the message string. Matches the pattern established in commit 0fdeffe across the rest of the codebase.

Closes #868

Co-authored-by: aydnOktay aydnOktay@users.noreply.github.com

Adds full stack traces to error logs in _upscale_image() and
image_generate_tool() for better debugging. Matches the pattern
used across the rest of the codebase.

Cherry-picked from PR #868 by aydnOktay.

Co-authored-by: aydnOktay <aydnOktay@users.noreply.github.com>
@teknium1 teknium1 merged commit 73ba498 into main Mar 11, 2026
1 check passed
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