Adding some websocket client upgrade logging

This commit is contained in:
Joakim Erdfelt 2015-03-27 15:32:50 -07:00
parent 07d29fb1b3
commit f06e846812
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ public class UpgradeConnection extends AbstractConnection
@Override
public void succeeded()
{
LOG.debug("Upgrade Request Write Success");
// Writing the request header is complete.
super.succeeded();
// start the interest in fill
@ -87,6 +88,7 @@ public class UpgradeConnection extends AbstractConnection
@Override
public void failed(Throwable cause)
{
LOG.warn("Upgrade Request Write Failure", cause);
super.failed(cause);
// Fail the connect promise when a fundamental exception during connect occurs.
connectPromise.failed(cause);