This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new 2793a94 KYLIN-3662 2793a94 is described below commit 2793a94331d85a35ca7144a4584dd6ac0e4fb901 Author: chitin <chitin1...@gmail.com> AuthorDate: Thu Nov 1 16:40:51 2018 +0800 KYLIN-3662 --- .../src/main/java/org/apache/kylin/rest/service/QueryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java b/server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java index d8e397e..bd4049d 100644 --- a/server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java +++ b/server-base/src/main/java/org/apache/kylin/rest/service/QueryService.java @@ -375,7 +375,7 @@ public class QueryService extends BasicService { // 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());