Skip to content

Conversation

igboyes
Copy link
Member

@igboyes igboyes commented Aug 19, 2025

Replace structlog.stdlib.add_log_level with custom processor that maps
the "exception" method name to "error" level. This prevents the
ValueError when logger.exception() is called, since Python's logging
module doesn't have an EXCEPTION level.

Fixes CLOUD-WORKFLOWS-4P

Replace structlog.stdlib.add_log_level with custom processor that maps
the "exception" method name to "error" level. This prevents the
ValueError when logger.exception() is called, since Python's logging
module doesn't have an EXCEPTION level.

Fixes CLOUD-WORKFLOWS-4P
Copy link

linear bot commented Aug 19, 2025

@igboyes igboyes merged commit 1fd0d72 into main Aug 20, 2025
9 checks passed
@igboyes igboyes deleted the igboyes/vir-2125-valueerror-exception-is-not-a-valid-log-level branch August 20, 2025 18:10
Copy link
Contributor

🎉 This PR is included in version 7.2.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant