james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randal Modowski (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2193) command metrics not done if doFilterChecks throws exception
Date Wed, 18 Oct 2017 21:02:01 GMT
Randal Modowski created JAMES-2193:
--------------------------------------

             Summary: 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
         Attachments: AbstractHookableCmdHandler.java

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
(v6.4.14#64029)

---------------------------------------------------------------------
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