Skip to content

Commit

Permalink
[Transform] add actual timeout in message (#50140)
Browse files Browse the repository at this point in the history
add the timeout to the message if stopping a transform times out
  • Loading branch information
Hendrik Muhs authored Dec 13, 2019
1 parent b6d8a7e commit f99f088
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,9 @@ private void waitForTransformStopped(
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));
Expand Down

0 comments on commit f99f088

Please sign in to comment.