kfaraz commented on code in PR #16286:
URL: https://github.com/apache/druid/pull/16286#discussion_r1568210035


##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/TaskQueue.java:
##########
@@ -427,8 +427,10 @@ private void manageInternalCritical(
             if (e instanceof MaxAllowedLocksExceededException) {
               errorMessage = e.getMessage();
             } else {
-              errorMessage = "Failed while waiting for the task to be ready to 
run. "
-                                          + "See overlord logs for more 
details.";
+              errorMessage = StringUtils.format(
+                  "Encountered error[%s] while waiting for task to be ready. 
See Overlord logs for more details.",
+                  e.getMessage()

Review Comment:
   ```suggestion
                     StringUtils.chop(e.getMessage(), 100)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to