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

Carsten Ziegeler commented on SLING-12152:
------------------------------------------

Handle FileNotFoundException as 404 : 
https://github.com/apache/sling-org-apache-sling-engine/commit/b48045687c47c4e0bbc72dec0705a3aa11dca997

> IOException is not properly handled by error handling
> -----------------------------------------------------
>
>                 Key: SLING-12152
>                 URL: https://issues.apache.org/jira/browse/SLING-12152
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.15.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Engine 2.15.8
>
>
> When a servlet (or code called by a servlet) is throwing an IOException, this 
> is currently not passed to the error handler. Instead the processor is 
> passing it on to the main servlet, assuming it is handling the case. However, 
> the main servlet is just logging and therefore an IOException does not result 
> in an error response send to the client



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

Reply via email to