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/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 5a1e57d6dd including the underlying exception in the logging output
(#13248)
5a1e57d6dd is described below
commit 5a1e57d6ddcf6bf379068837c02af052689d2a9a
Author: Radu Brumariu <[email protected]>
AuthorDate: Wed May 29 18:17:45 2024 -0400
including the underlying exception in the logging output (#13248)
---
.../apache/pinot/controller/api/resources/PinotTaskRestletResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
index ffda1ce99c..2a83915354 100644
---
a/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
+++
b/pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java
@@ -661,7 +661,7 @@ public class PinotTaskRestletResource {
} catch (NoTaskScheduledException e) {
throw new ControllerApplicationException(LOGGER,
"No task is generated for table: " + adhocTaskConfig.getTableName()
+ ", with task type: "
- + adhocTaskConfig.getTaskType(), Response.Status.BAD_REQUEST);
+ + adhocTaskConfig.getTaskType(), Response.Status.BAD_REQUEST, e);
} catch (Exception e) {
throw new ControllerApplicationException(LOGGER,
"Failed to create adhoc task: " + ExceptionUtils.getStackTrace(e),
Response.Status.INTERNAL_SERVER_ERROR, e);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]