[
https://issues.apache.org/jira/browse/NIFI-11714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738773#comment-17738773
]
ASF subversion and git services commented on NIFI-11714:
--------------------------------------------------------
Commit 50b01ffd6385516a6b26e2d8937e0c1820c49e2c in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=50b01ffd63 ]
NIFI-11714 Added Error Handler to Jetty Server
- Configured Error Handler with Stack Traces disabled for NiFi and Registry
Signed-off-by: Joe Gresock <[email protected]>
This closes #7447.
> Add General Error Handling for Jetty Framework Server
> -----------------------------------------------------
>
> Key: NIFI-11714
> URL: https://issues.apache.org/jira/browse/NIFI-11714
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Fix For: 1.latest, 2.latest
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Jetty server that supports framework operations should be updated to
> include generalized error handling that avoids writing stack traces.
> Application REST resources support error handling and simplified messages,
> but Jetty handles some exceptions that can result from malformed HTTP
> requests. Implementing fallback error handling for Jetty will avoid providing
> stack trace information and other information to HTTP clients.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)