Skip to content

Commit

Permalink
Improve error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisara-Welmilla committed Dec 19, 2024
1 parent 6d66094 commit 8d53282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void deleteIdPs(int tenantId) throws IdentityProviderManagementException
deleteEndpointConfig(idp, IdentityTenantUtil.getTenantDomain(tenantId));
}
} catch (IdentityProviderManagementException e) {
// Error will not be thrown, since the IDPs is already deleted. But there will be stale actions.
// Error will not be thrown, since the IdPs is already deleted. But there will be stale actions.
LOG.warn(IdPManagementConstants.WarningMessage.WARN_STALE_IDP_ACTIONS);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,9 @@ public static class SQLQueries {

public static class WarningMessage {

public static final String WARN_STALE_IDP_ACTION = "The %s Identity Provider was deleted, but an error " +
public static final String WARN_STALE_IDP_ACTION = "The Identity Provider: %s is deleted, but an error " +
"occurred while deleting its associated action.";
public static final String WARN_STALE_IDP_ACTIONS = "The Identity Providers was deleted, but an error " +
public static final String WARN_STALE_IDP_ACTIONS = "Identity Providers are deleted, but an error " +
"occurred while deleting their associated actions.";
}

Expand Down

0 comments on commit 8d53282

Please sign in to comment.