We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc013bb commit 0bd3f66Copy full SHA for 0bd3f66
server/src/main/java/org/elasticsearch/tasks/TaskCancelledException.java
@@ -27,6 +27,11 @@ public TaskCancelledException(StreamInput in) throws IOException {
27
super(in);
28
}
29
30
+ @Override
31
+ public Throwable fillInStackTrace() {
32
+ return this; // this exception doesn't imply a bug, no need for a stack trace
33
+ }
34
+
35
@Override
36
public RestStatus status() {
37
// Tasks are typically cancelled at the request of the client, so a 4xx status code is more accurate than the default of 500 (and
0 commit comments