FANNG1 commented on code in PR #8269:
URL: https://github.com/apache/gravitino/pull/8269#discussion_r2297910621
##########
server-common/src/main/java/org/apache/gravitino/server/authorization/jcasbin/JcasbinAuthorizer.java:
##########
@@ -309,8 +307,7 @@ private boolean loadPrivilegeAndAuthorize(
userId = userEntity.id();
metadataId = MetadataIdConverter.getID(metadataObject, metalake);
} catch (Exception e) {
- LOG.debug("Can not get entity id", e);
- return false;
+ throw new RuntimeException(e);
Review Comment:
could you provide more context about `the schema metadata might not exist
in Gravitino`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]