You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit Message: Better ASSERT output from union_string.h
Additional Description: The existing ASSERT just tells us "a validation
went wrong somewhere". Sometimes the stack trace helps, but sometimes it
doesn't. This change makes the ASSERT error give us a [somewhat mangled]
description of what kind of validator was running, and the horrible
string it was running on, e.g.
```
[./envoy/common/union_string.h:180] assert failure: valid(). Details: N5Envoy4Http21HeaderStringValidatorE failed to validate string "�2}���i���IS9䄒�i���X�?���i��������X�?�!ꨤI�W����"
```
vs. the old output
```
[./envoy/common/union_string.h:172] assert failure: valid().
```
Risk Level: None, it only changes anything if an ASSERT fails.
Testing: Used while debugging another issue.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a
---------
Signed-off-by: Raven Black <[email protected]>
0 commit comments