Skip to content

Commit

Permalink
PLT-302 Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Nov 10, 2023
1 parent b276fc1 commit 1ea33b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private void personaPolicyToESDslClauses(List<AtlasEntity> policies,
int assetSize = terms.size() + assets.size() + 1;
if (assetSize > assetsMaxLimit) {
// For Metadata policies, along with assets we add 1 more clause for connection qualifiedName hence comparing with "assets.size() + 1"
throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(terms.size() + assets.size() + 1));
throw new AtlasBaseException(AtlasErrorCode.PERSONA_POLICY_ASSETS_LIMIT_EXCEEDED, String.valueOf(assetsMaxLimit), String.valueOf(assetSize));
}

String connectionQName = getPolicyConnectionQN(policy);
Expand Down

0 comments on commit 1ea33b4

Please sign in to comment.