Added missing log for yahoo protocol exceptions

cusax-fix
Damian Minkov 20 years ago
parent 4a0047cd09
commit ed6f81306e

@ -494,6 +494,16 @@ public void connectionClosed(SessionEvent ev)
public void inputExceptionThrown(SessionExceptionEvent ev)
{
if(ev.getException() instanceof YMSG9BadFormatException)
{
logger.error("Yahoo protocol exception occured exception",
ev.getException());
logger.error("Yahoo protocol exception occured exception cause",
((YMSG9BadFormatException)ev.getException().getCause()));
}
else
logger.error("Yahoo protocol exception occured", ev.getException());
unregister(false);
if(isRegistered())
fireRegistrationStateChanged(
@ -511,4 +521,4 @@ public ProtocolIcon getProtocolIcon()
{
return yahooIcon;
}
}
}

Loading…
Cancel
Save