[Transform] add actual timeout in message (#50140)

add the timeout to the message if stopping a transform times out
This commit is contained in:
Hendrik Muhs 2019-12-13 08:09:25 +01:00
parent efa6ef3c06
commit 1c3ce110bd
1 changed files with 3 additions and 1 deletions

View File

@ -397,7 +397,9 @@ public class TransportStopTransformAction extends TransportTasksAction<Transform
if (stillRunningTasks.size() > 0) {
message.append("Could not stop the transforms ");
message.append(stillRunningTasks);
message.append(" as they timed out.");
message.append(" as they timed out [");
message.append(timeout.toString());
message.append("].");
}
listener.onFailure(new ElasticsearchStatusException(message.toString(), RestStatus.REQUEST_TIMEOUT));