[fix] update table config show error msg on exception
@@ -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);
}
