FasterXML / FasterXML/jackson-core
Allow suppresion of source information in exception messages
- Langage dominant
- Java
- Étoiles
- 2.4k
- Forks
- 928
- Merge moyen
- 2 j 18 h
- PR mergées (30 j)
- 24
Description
This is a follow-on from the discussion in #1151 .
Currently the `JsonParser.Feature.INCLUDE_SOURCE_IN_LOCATION` setting can be used to choose whether to include source information as a part of the location in `JsonProcessingException`.
When this is disabled, the message now includes messages such as:
```
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 4, column: 18]
```
It would be nice to have configuration that just disables the source entirely from this text blurb, logs and messages don't have a reference to internal implementation details. Ideally this would result in messages more like:
```
at [line: 4, column: 18]
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.