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

Shawn Weeks commented on NIFI-7264:
-----------------------------------

>From the documentation it sounds like returning empty string was intended. 
>What are some examples for jsonPathWithDefault that can't already be handled 
>by checking if the jsonPath isEmpty and then going for there?

{code:java}

An empty string is generated if the Subject does not contain valid JSON, the 
jsonPath is invalid, or the path does not exist in the Subject.
{code}


> Make jsonPath Expression Logging More Reasonable
> ------------------------------------------------
>
>                 Key: NIFI-7264
>                 URL: https://issues.apache.org/jira/browse/NIFI-7264
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Shawn Weeks
>            Assignee: Otto Fowler
>            Priority: Trivial
>
> Currently JsonPathEvaluator logs on all errors despite some errors like the 
> PathNotFoundException that might only need to be logged at the debug level. 
> Since these kind of errors aren't returned to the UI we're just filling up 
> the logs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to