This is an automated email from the ASF dual-hosted git repository. mayanks pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push: new d2961e7 [fix] update table config show error msg on exception (#6895) d2961e7 is described below commit d2961e7de0e725e02307921d46332c7ace96482e Author: troywinter <troywin...@users.noreply.github.com> AuthorDate: Mon May 10 22:58:01 2021 +0800 [fix] update table config show error msg on exception (#6895) Co-authored-by: troywinter <mengy...@whale.im> --- .../pinot/controller/api/resources/PinotTableRestletResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java index 9b88e62..570a960 100644 --- a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java +++ b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java @@ -367,7 +367,7 @@ public class PinotTableRestletResource { Schema schema = _pinotHelixResourceManager.getSchemaForTableConfig(tableConfig); TableConfigUtils.validate(tableConfig, schema); } catch (Exception e) { - String msg = String.format("Invalid table config: %s", tableName); + String msg = String.format("Invalid table config: %s with error: %s", tableName, e.getMessage()); throw new ControllerApplicationException(LOGGER, msg, Response.Status.BAD_REQUEST, e); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org