Skip to content

Commit 544e6ca

Browse files
committed
update exception print
1 parent fb92c6a commit 544e6ca

File tree

1 file changed

+1
-1
lines changed
  • dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/service/impl

1 file changed

+1
-1
lines changed

dss-framework/dss-framework-workspace-server/src/main/java/com/webank/wedatasphere/dss/framework/workspace/service/impl/DSSWorkspaceServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ private DSSWorkspace getWorkspace(Supplier<DSSWorkspace> workspaceSupplier, Stri
479479
}
480480
List<String> users = dssWorkspaceUserMapper.getAllWorkspaceUsers(dssWorkSpace.getId());
481481
if (!users.contains(username)) {
482-
throw new DSSFrameworkWarnException(30021, "You have no permission to access this workspace " + dssWorkSpace.getName());
482+
throw new DSSFrameworkWarnException(30021, "user: " + username + " have no permission to access this workspace " + dssWorkSpace.getName());
483483
}
484484
String originDepartId = dssWorkSpace.getDepartment();
485485
if (StringUtils.isNotBlank(originDepartId)) {

0 commit comments

Comments
 (0)