[
https://issues.apache.org/jira/browse/JAMES-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit updated JAMES-2193:
----------------------------------
Labels: easy-fix (was: )
> 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: easy-fix
> 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: [email protected]
For additional commands, e-mail: [email protected]