Github user lahirus commented on a diff in the pull request: https://github.com/apache/stratos/pull/298#discussion_r29998268 --- Diff: components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java --- @@ -2781,7 +2782,7 @@ public static void addTenant(org.apache.stratos.common.beans.TenantInfoBean tena try { TenantMgtUtil.addClaimsToUserStoreManager(tenant); } catch (Exception e) { - String msg = "Error in granting permissions for tenant " + tenantDomain; + String msg = "Error in granting permissions for tenant " + tenantDomain + e.getLocalizedMessage(); --- End diff -- No need of using "e.getLocalizedMessage()" as we do not support localization IMO.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---