james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-2193) command metrics not done if doFilterChecks throws exception
Date Mon, 29 Jan 2018 03:28:00 GMT

     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message