You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/08/10 17:19:00 UTC

[jira] [Commented] (AVRO-2496) Report JSON path for schema and protocol parsing exceptions

    [ https://issues.apache.org/jira/browse/AVRO-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16904477#comment-16904477 ] 

ASF subversion and git services commented on AVRO-2496:
-------------------------------------------------------

Commit 1b96b5bdf7d361bd25e1c2ef1697f0bc1d4a6e9d in avro's branch refs/heads/master from pa009fa
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=1b96b5b ]

AVRO-2496: Report JSON path for schema and protocol parsing exceptions in C# bindings (#600)



> Report JSON path for schema and protocol parsing exceptions
> -----------------------------------------------------------
>
>                 Key: AVRO-2496
>                 URL: https://issues.apache.org/jira/browse/AVRO-2496
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.9.0
>            Reporter: Patrick Farry
>            Priority: Major
>
> In the csharp library, if there is an exception parsing a schema then we get a message with the exception details but no indication of where the error was in the schema's json. 
> I have updated the parser to catch these exceptions and rethrow a new exception with the JSON path to the error and the original exception. This requires an update of the NewtonSoft json.net package (current version is 3). Version 10.3 is about 2 years old and has the most downloads of any recent release. Suggest going to this one.
> I if people agree this is a good idea I can put in a PR.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)