incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-126) Log two times when error happens during create App
Date Mon, 04 Mar 2013 18:25:15 GMT

    [ https://issues.apache.org/jira/browse/S4-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592452#comment-13592452
] 

Matthieu Morel commented on S4-126:
-----------------------------------

+1 looks good to me, thanks Aimee!
                
> Log two times when error happens during create App
> --------------------------------------------------
>
>                 Key: S4-126
>                 URL: https://issues.apache.org/jira/browse/S4-126
>             Project: Apache S4
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Aimee Cheng
>             Fix For: 0.6
>
>         Attachments: 0001-remove-duplicate-log-info.patch
>
>
> When creating App meets some problems, the error log shows 2 times. When I look into
the code, it has duplicate code.
> {code:title=CreateApp.java|borderStyle=solid}
>  // create project structure
>  try {
>   //blabla
>  } catch (Exception e) {
>      logger.error("Could not create project due to [{}]. Please check your configuration.",
e.getMessage());
>      logger.error("Could not create project due to [{}]. Please check your configuration.",
e.getMessage());
>  }
> {code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message