Skip to content

Commit

Permalink
KYLIN-3662
Browse files Browse the repository at this point in the history
  • Loading branch information
denglingang authored and shaofengshi committed Nov 1, 2018
1 parent 6544143 commit 2793a94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public SQLResponse doQueryWithCache(SQLRequest sqlRequest, boolean isQueryInspec
// project not found
ProjectManager mgr = ProjectManager.getInstance(KylinConfig.getInstanceFromEnv());
if (mgr.getProject(sqlRequest.getProject()) == null) {
throw new BadRequestException(msg.getPROJECT_NOT_FOUND());
throw new BadRequestException(String.format(Locale.ROOT, msg.getPROJECT_NOT_FOUND(), sqlRequest.getProject()));
}
if (StringUtils.isBlank(sqlRequest.getSql())) {
throw new BadRequestException(msg.getNULL_EMPTY_SQL());
Expand Down

0 comments on commit 2793a94

Please sign in to comment.