From 9fc7615f10a42515f8adfbfadec5ca2cb3dbb394 Mon Sep 17 00:00:00 2001 From: Evan Schoenberg Date: Mon, 24 Dec 2007 19:04:58 +0000 Subject: [PATCH] Improved the debug logging which occurs as an account disconnects to loggify all paths git-svn-id: svn://svn.adiumx.com/adium/trunk@22004 1c916fce-81e2-0310-a464-8ca513f45935 --- Frameworks/Adium Framework/Source/AIAbstractAccount.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Frameworks/Adium Framework/Source/AIAbstractAccount.m b/Frameworks/Adium Framework/Source/AIAbstractAccount.m index e1d474256..28124e87b 100644 --- a/Frameworks/Adium Framework/Source/AIAbstractAccount.m +++ b/Frameworks/Adium Framework/Source/AIAbstractAccount.m @@ -1248,6 +1248,7 @@ AILog(@"%@: Disconnected (\"%@\"): Automatically reconnecting immediately", self, lastDisconnectionError); [self performAutoreconnect]; } else { + AILog(@"%@: Disconnected: Will not reconnect"); if (lastDisconnectionError) { [[adium interfaceController] handleErrorMessage:[NSString stringWithFormat:@"%@ (%@) : Error",[self UID],[[self service] shortDescription]] withDescription:lastDisconnectionError]; @@ -1256,6 +1257,9 @@ //Reset reconnection attempts reconnectAttemptsPerformed = 0; } + } else { + AILog(@"%@: Disconnected; should be online? %@; lastDisconnectionError %@", + self, ([self shouldBeOnline] ? @"Yes" : @"No"), lastDisconnectionError); } } -- 2.11.4.GIT