Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorder proto validation error message (envoyproxy#38089)
Commit Message: Reorder proto validation error message Additional Description: As discussed in envoyproxy#38064, the error message is currently often hard to interpret due to the ordering being "high-level low-level high-level" rather than the usual high-to-low ordering error messages have, leading to confusing adjacencies. This is a minimal reordering that doesn't break tests and makes the error message easier to read, for example `Proto constraint validation failed (HttpProtocolOptionsValidationError.ExplicitHttpConfig: embedded message failed validation | caused by field: "protocol_config", reason: is required): explicit_http_config` becomes `explicit_http_config: Proto constraint validation failed (HttpProtocolOptionsValidationError.ExplicitHttpConfig: embedded message failed validation | caused by field: "protocol_config", reason: is required)` Risk Level: Very low it's just an error string. Testing: Existing tests still pass. Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a --------- Signed-off-by: Raven Black <[email protected]>
- Loading branch information