merge queue: embarking main (e104116) and #622 together#624
Closed
mergify[bot] wants to merge 2 commits intomainfrom
Closed
merge queue: embarking main (e104116) and #622 together#624mergify[bot] wants to merge 2 commits intomainfrom
mergify[bot] wants to merge 2 commits intomainfrom
Conversation
Stop passing `exc_info=` as a kwarg to `logger.log()`. Standard `logging.Logger` treats this specially (appends traceback), but loguru interprets all kwargs as message format parameters, causing a KeyError. Instead, format the traceback into the message string directly using `traceback.format_exception()`. This works with all loggers that implement `LoggerProtocol` (logging, loguru, structlog, etc.). Also tighten `LoggerProtocol.log()` by removing `**kwargs` since we no longer pass any keyword arguments. Fixes #420 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Change-Id: Icc145539d443c83f09266e25b9819bd2516aeddc
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.
🎉 This pull request has been checked successfully and will be merged soon. 🎉
Branch main (e104116) and #622 are embarked together for merge.
This pull request has been created by Mergify to speculatively check the mergeability of #622.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.
Required conditions of queue
defaultfor merge:No extra conditions.
Required conditions to stay in the queue:
check-success=test (3.10, check)check-success=test (3.11, check)check-success=test (3.12, check)check-success=test (3.13, check)check-success=test (3.14, check)check-success=test (3.14, lint)check-success=test (3.14, mypy)author = jd#approved-reviews-by >= 1author = dependabot[bot]