Filed an issue in jackson-core (linked) 
<https://github.com/FasterXML/jackson-core/issues/1151> in case more 
requests for such functionality is made

On Sunday, December 3, 2023 at 2:38:05 PM UTC+9 Joo Hyuk Kim (Vince) wrote:

> Filed an issue in jackson-core in case more requests for such 
> functionality is made
>
> On Thursday, November 30, 2023 at 12:43:42 PM UTC+9 Tatu Saloranta wrote:
>
>> On Wed, Nov 29, 2023 at 6:37 PM Joo Hyuk Kim (Vince) 
>> <bean...@gmail.com> wrote: 
>> > 
>> > How about handling via `ErrorReportConfiguration`? 
>> > Name itself sort of suggests could be covered. 
>>
>> Yes, good point. That can control aspects of error reporting. 
>>
>> -+ Tatu +- 
>>
>> > 
>> > On Thursday, November 30, 2023 at 10:39:02 AM UTC+9 Tatu Saloranta 
>> wrote: 
>> >> 
>> >> On Wed, Nov 29, 2023 at 2:46 PM Mark Derricutt <ma...@talios.com> 
>> wrote: 
>> >> > 
>> >> > Tatu, 
>> >> > 
>> >> > When getting an JSON exception, even with source redacted - I was 
>> >> > wondering if it was possible to configure jackson to not even 
>> _mention_ 
>> >> > the source, i.e instead of getting; 
>> >> > 
>> >> > Unexpected end-of-input: expected close marker for Array (start 
>> marker 
>> >> > at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` 
>> >> > disabled); line: 1, column: 12]) 
>> >> > 
>> >> > just reporting: 
>> >> > 
>> >> > Unexpected end-of-input: expected close marker for Array; line: 1, 
>> >> > column: 12 
>> >> > 
>> >> > I couldn't see anything in the source to possible configure that, so 
>> am 
>> >> > looking at regexing it out myself, tho I'd rather not manually do 
>> this 
>> >> > for all exceptions if possible - I could seem to see any way of just 
>> >> > getting the base message, and line/column information from any 
>> >> > exceptions to build up my own message from fields either. 
>> >> 
>> >> `JacksonException` base has `getOriginalMessage()` and is the base of 
>> >> all Jackson-produced exceptions. 
>> >> 
>> >> Maybe that could help? 
>> >> 
>> >> Other than that there is no functionality; I would be open to PR for 
>> >> another `StreamReadFeature`, although it gets to quite specific 
>> >> handling at this point. 
>> >> 
>> >> -+ Tatu +- 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "jackson-dev" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to jackson-dev...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jackson-dev/4b3b7092-880b-43ec-bb6f-60828f8c71cdn%40googlegroups.com.
>>  
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jackson-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-dev/c587ec1e-1f73-4f2e-a929-66cc15dd79f2n%40googlegroups.com.

Reply via email to