NO-JIRA Removing Debug Message from code

This commit is contained in:
Clebert Suconic 2019-02-14 17:55:49 +01:00
parent 603d72f4a0
commit e1c1d6ef66
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");
}
}