This commit is contained in:
Clebert Suconic 2019-02-19 14:44:41 -05:00
commit d78cd81cc6
1 changed files with 0 additions and 4 deletions

View File

@ -146,10 +146,6 @@ public class ProtonHandler extends ProtonInitializable implements SaslListener {
public void requireHandler() {
if (!workerExecutor.inEventLoop()) {
new Exception("saco!!!").printStackTrace();
// this should not happen unless there is an obvious programming error
log.warn("Using inHandler is required", new Exception("trace"));
System.exit(-1);
throw new IllegalStateException("this method requires to be called within the handler, use the executor");
}
}