Permalink
Browse files

Fixed logging-related error when reporting security error

This blocked the rest of the callback from running when the policy file could not be loaded.
  • Loading branch information...
1 parent d26bed5 commit c553949db2515021b6541786e23e92906d2ba297 @rondevera rondevera committed Jun 15, 2011
@@ -345,8 +345,8 @@ package com.mintdigital.hemlock.conn {
}
protected function onSecurityError(ev:SecurityErrorEvent):void{
- Logger.debug('There was a security error of type: ' + ev.type +
- "\nError: " + ev.text);
+ Logger.debug('XMPPConnectionLite::onSecurityError() : ' + ev.text);
+
_active = false;
_loggedIn = false;
_currentPort++;
@@ -325,8 +325,8 @@ package com.mintdigital.hemlock.conn {
}
protected function onSecurityError(ev:SecurityErrorEvent):void{
- Logger.debug('There was a security error of type: ' + ev.type +
- "\nError: " + ev.text);
+ Logger.debug('XMPPConnectionLite::onSecurityError() : ' + ev.text);
+
_active = false;
_loggedIn = false;
_currentPort++;

0 comments on commit c553949

Please sign in to comment.