mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
Do not pass executor shutdown to super constructor
The main constructor for rejected execution exception its executor shutdown constructor parameter to the super constructor where it would be used as a formatting parameter. This is a mistake so this commit fixes this issue.
This commit is contained in:
parent
83c8daa5e8
commit
144e1698cf
@ -31,7 +31,7 @@ public class EsRejectedExecutionException extends ElasticsearchException {
|
||||
private final boolean isExecutorShutdown;
|
||||
|
||||
public EsRejectedExecutionException(String message, boolean isExecutorShutdown) {
|
||||
super(message, isExecutorShutdown);
|
||||
super(message);
|
||||
this.isExecutorShutdown = isExecutorShutdown;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user