Apache S4
  1. Apache S4
  2. S4-126

Log two times when error happens during create App

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Labels:
      None

      Description

      When creating App meets some problems, the error log shows 2 times. When I look into the code, it has duplicate code.

      CreateApp.java
       // 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());
       }
      

        Activity

        Hide
        Matthieu Morel added a comment -

        patch available proposed by Aimee and already included as attachment

        Show
        Matthieu Morel added a comment - patch available proposed by Aimee and already included as attachment
        Hide
        Matthieu Morel added a comment -

        +1 looks good to me, thanks Aimee!

        Show
        Matthieu Morel added a comment - +1 looks good to me, thanks Aimee!
        Hide
        Daniel Gómez Ferro added a comment -

        Thanks for the patch Aimee, applied to dev commit 23ba4668c369256e26b1118b9ad19e3fd239151d

        Show
        Daniel Gómez Ferro added a comment - Thanks for the patch Aimee, applied to dev commit 23ba4668c369256e26b1118b9ad19e3fd239151d

          People

          • Assignee:
            Unassigned
            Reporter:
            Aimee Cheng
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development