You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/02/21 10:54:00 UTC
[jira] [Resolved] (SLING-11740) DefaultErrorHandler should not catch Error
[ https://issues.apache.org/jira/browse/SLING-11740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-11740.
--------------------------------------
Assignee: Carsten Ziegeler
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-engine/commit/9f177240c3e991dec09c071a917ad88274c254d3
> DefaultErrorHandler should not catch Error
> ------------------------------------------
>
> Key: SLING-11740
> URL: https://issues.apache.org/jira/browse/SLING-11740
> Project: Sling
> Issue Type: Improvement
> Components: Engine
> Affects Versions: Engine 2.13.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Engine 2.13.4
>
>
> The DefaultErrorHandler is catching Error when it forwards to a delegate error handler. As Error should not be caught by applications in general, we should probably rather remove those two catch statements
--
This message was sent by Atlassian Jira
(v8.20.10#820010)