You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Randal Modowski (JIRA)" <se...@james.apache.org> on 2018/01/29 15:23:01 UTC
[jira] [Closed] (JAMES-2193) command metrics not done if
doFilterChecks throws exception
[ https://issues.apache.org/jira/browse/JAMES-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randal Modowski closed JAMES-2193.
----------------------------------
Resolution: Fixed
> command metrics not done if doFilterChecks throws exception
> -----------------------------------------------------------
>
> Key: JAMES-2193
> URL: https://issues.apache.org/jira/browse/JAMES-2193
> Project: James Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: 3.0.0
> Reporter: Randal Modowski
> Priority: Critical
> Labels: easyfix
> Attachments: AbstractHookableCmdHandler.java
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> If doFilterChecks throws an exception it is outside of the try block so the metric in the finally will never be called. doFilterChecks should be moved to inside the try catch.
> see attachment for patch
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org