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

        Daniel Gómez Ferro made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Matthieu Morel made changes -
        Fix Version/s 0.6 [ 12321702 ]
        Matthieu Morel made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aimee Cheng made changes -
        Field Original Value New Value
        Attachment 0001-remove-duplicate-log-info.patch [ 12571791 ]
        Aimee Cheng created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development