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

ASF subversion and git services commented on NIFI-10343:
--------------------------------------------------------

Commit 1b4d66a726eb32839cf35c57234ff0e28f21157c in nifi's branch 
refs/heads/main from Malthe Borch
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1b4d66a726 ]

NIFI-10343 Add error code to exception message

The error object may not have a description, but should have a code.

Signed-off-by: Pierre Villard <[email protected]>

This closes #6288.


> OIDC identity provider may provide "null" as error message
> ----------------------------------------------------------
>
>                 Key: NIFI-10343
>                 URL: https://issues.apache.org/jira/browse/NIFI-10343
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Malthe Borch
>            Priority: Major
>
> We've observed an error message "An error occurred while invoking the Token 
> endpoint: null" which seems to stem from the code pulling the error 
> description which may be null.
> Instead, it should provide both the description and the code – and possibly 
> the HTTP status code as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to