Ryan Skraba created AVRO-4254:
---------------------------------
Summary: Avoid logging datum values in UnresolvedUnionException
Key: AVRO-4254
URL: https://issues.apache.org/jira/browse/AVRO-4254
Project: Apache Avro
Issue Type: Improvement
Components: java
Reporter: Ryan Skraba
>From PR:
UnresolvedUnionException previously included the full toString() of the
unresolved datum in its exception message. When this exception propagates to
generic error handlers or gets logged, the datum value — which may contain
sensitive user data — gets written to application logs.
Replace the datum's toString() with its class name in the exception message.
The actual datum object remains accessible via getUnresolvedDatum() for callers
that need programmatic access.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)