mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
Add debug to tryFailure
This commit is contained in:
parent
2a421cdd8d
commit
d5eb37c7a6
@ -7,7 +7,9 @@ import io.netty.util.concurrent.GenericFutureListener;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
import java.util.logging.Level;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import net.md_5.bungee.api.ProxyServer;
|
||||
|
||||
@RequiredArgsConstructor
|
||||
public class ReusableChannelPromise implements ChannelPromise
|
||||
@ -174,6 +176,7 @@ public class ReusableChannelPromise implements ChannelPromise
|
||||
@Override
|
||||
public boolean tryFailure(Throwable cause)
|
||||
{
|
||||
throw new UnsupportedOperationException( "Not supported yet." );
|
||||
ProxyServer.getInstance().getLogger().log( Level.WARNING, "Exception in tryFailure(..)", cause );
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user