Skip to content

[Uid] Add InvalidUidException Context #60557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 7.4
Choose a base branch
from

Conversation

rela589n
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? yes (minor)
Deprecations? no
Issues #60328
License MIT

Considering the main purpose of the exceptions - to be logged, it is best to have their context normalized, so that it can be easily processed by special tools (like Graylog, Logstash, etc).

This PR adds context to InvalidUidException so that its value will appear in logs, and also it adds PSR3-interpolation placeholders for uid value where such were absent.

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

Successfully merging this pull request may close these issues.

2 participants