mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Lower priority for exception logs
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user