stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swgkg <...@git.apache.org>
Subject [GitHub] stratos pull request: Moving non api methods
Date Sun, 10 May 2015 14:20:05 GMT
Github user swgkg commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/298#discussion_r30002527
  
    --- Diff: components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
---
    @@ -3179,7 +3201,9 @@ public static void updateUser(UserInfoBean userInfoBean) throws
RestAPIException
                 StratosUserManagerUtils.updateUser(getTenantUserStoreManager(), userInfoBean);
     
             } catch (UserManagerException e) {
    -            throw new RestAPIException(e.getMessage());
    +            String msg = "Error in updating user";
    +            log.error(msg, e);
    +            throw new RestAPIException(msg,e);
             }
     
    --- End diff --
    
    Better to have more descriptive error message for updating user.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message