fuweng11 commented on code in PR #8390:
URL: https://github.com/apache/inlong/pull/8390#discussion_r1248992852
##########
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/interceptor/MultiTenantInterceptor.java:
##########
@@ -171,12 +171,13 @@ private boolean isPrimitiveOrWrapper(Object obj) {
private String getTenant() {
UserInfo userInfo = LoginUserUtils.getLoginUser();
if (userInfo == null) {
- throw new BusinessException("Current user is null, please login
first");
Review Comment:
An exception should be thrown if the `userInfo ` is empty
--
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]