Lower priority for exception logs

This commit is contained in:
Bjorn Winckler
2010-01-24 15:14:19 +01:00
parent e47dc041ee
commit 1807edf411
3 changed files with 17 additions and 17 deletions
+9 -9
View File
@@ -431,7 +431,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
return YES;
}
@catch (NSException *ex) {
ASLogNotice(@"Connect backend failed: reason=%@", ex);
ASLogDebug(@"Connect backend failed: reason=%@", ex);
}
return NO;
@@ -595,9 +595,9 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
[appProxy processInput:outputQueue forIdentifier:identifier];
}
@catch (NSException *ex) {
ASLogNotice(@"processInput:forIdentifer failed: reason=%@", ex);
ASLogDebug(@"processInput:forIdentifer failed: reason=%@", ex);
if (![connection isValid]) {
ASLogNotice(@"Connection is invalid, exit now!");
ASLogDebug(@"Connection is invalid, exit now!");
ASLogDebug(@"waitForAck=%d got_int=%d", waitForAck, got_int);
mch_exit(-1);
}
@@ -664,7 +664,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
[appProxy processInput:outputQueue forIdentifier:identifier];
}
@catch (NSException *ex) {
ASLogNotice(@"CloseWindowMsgID send failed: reason=%@", ex);
ASLogDebug(@"CloseWindowMsgID send failed: reason=%@", ex);
}
// NOTE: If Cmd-w was pressed to close the window the menu is briefly
@@ -789,7 +789,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
[dialogReturn release]; dialogReturn = nil;
}
@catch (NSException *ex) {
ASLogNotice(@"Exception: reason=%@", ex);
ASLogDebug(@"Exception: reason=%@", ex);
}
return (char *)s;
@@ -844,7 +844,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
[dialogReturn release]; dialogReturn = nil;
}
@catch (NSException *ex) {
ASLogNotice(@"Exception: reason=%@", ex);
ASLogDebug(@"Exception: reason=%@", ex);
}
return retval;
@@ -1417,7 +1417,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
}
}
@catch (NSException *ex) {
ASLogNotice(@"Exception: reason=%@", ex);
ASLogDebug(@"Exception: reason=%@", ex);
return NO;
}
@@ -1436,7 +1436,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
list = [proxy serverList];
}
@catch (NSException *ex) {
ASLogNotice(@"serverList failed: reason=%@", ex);
ASLogDebug(@"serverList failed: reason=%@", ex);
}
} else {
// We get here if a --remote flag is used before MacVim has started.
@@ -1507,7 +1507,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
return YES;
}
@catch (NSException *ex) {
ASLogNotice(@"addReply:server: failed: reason=%@", ex);
ASLogDebug(@"addReply:server: failed: reason=%@", ex);
}
} else {
ASLogNotice(@"server2client failed; no client with id %d", port);
+7 -7
View File
@@ -348,7 +348,7 @@ static BOOL isUnsafeMessage(int msgid);
[backendProxy processInput:msgid data:data];
}
@catch (NSException *ex) {
ASLogNotice(@"processInput:data: failed: pid=%d id=%d msg=%s reason=%@",
ASLogDebug(@"processInput:data: failed: pid=%d id=%d msg=%s reason=%@",
pid, identifier, MessageStrings[msgid], ex);
}
}
@@ -380,7 +380,7 @@ static BOOL isUnsafeMessage(int msgid);
}
@catch (NSException *ex) {
sendOk = NO;
ASLogNotice(@"processInput:data: failed: pid=%d id=%d msg=%s reason=%@",
ASLogDebug(@"processInput:data: failed: pid=%d id=%d msg=%s reason=%@",
pid, identifier, MessageStrings[msgid], ex);
}
@finally {
@@ -412,7 +412,7 @@ static BOOL isUnsafeMessage(int msgid);
ASLogDebug(@"eval(%@)=%@", expr, eval);
}
@catch (NSException *ex) {
ASLogNotice(@"evaluateExpression: failed: pid=%d id=%d reason=%@",
ASLogDebug(@"evaluateExpression: failed: pid=%d id=%d reason=%@",
pid, identifier, ex);
}
@@ -429,7 +429,7 @@ static BOOL isUnsafeMessage(int msgid);
errorString:errstr];
ASLogDebug(@"eval(%@)=%@", expr, eval);
} @catch (NSException *ex) {
ASLogNotice(@"evaluateExpressionCocoa: failed: pid=%d id=%d reason=%@",
ASLogDebug(@"evaluateExpressionCocoa: failed: pid=%d id=%d reason=%@",
pid, identifier, ex);
*errstr = [ex reason];
}
@@ -468,7 +468,7 @@ static BOOL isUnsafeMessage(int msgid);
[windowController processInputQueueDidFinish];
}
@catch (NSException *ex) {
ASLogNotice(@"Exception: pid=%d id=%d reason=%@", pid, identifier, ex);
ASLogDebug(@"Exception: pid=%d id=%d reason=%@", pid, identifier, ex);
}
}
@@ -859,7 +859,7 @@ static BOOL isUnsafeMessage(int msgid);
noteNewRecentFilePath:path];
}
@catch (NSException *ex) {
ASLogNotice(@"Exception: pid=%d id=%d reason=%@", pid, identifier, ex);
ASLogDebug(@"Exception: pid=%d id=%d reason=%@", pid, identifier, ex);
}
@finally {
[conn setRequestTimeout:oldTimeout];
@@ -892,7 +892,7 @@ static BOOL isUnsafeMessage(int msgid);
[backendProxy setDialogReturn:ret];
}
@catch (NSException *ex) {
ASLogNotice(@"setDialogReturn: failed: pid=%d id=%d reason=%@",
ASLogDebug(@"setDialogReturn: failed: pid=%d id=%d reason=%@",
pid, identifier, ex);
}
}
+1 -1
View File
@@ -1004,7 +1004,7 @@
reply = [backendProxy starRegisterToPasteboard:pb];
}
@catch (NSException *ex) {
ASLogNotice(@"starRegisterToPasteboard: failed: pid=%d reason=%@",
ASLogDebug(@"starRegisterToPasteboard: failed: pid=%d reason=%@",
[vimController pid], ex);
}
}