mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 11:33:34 +08:00
Ignore more git platform errors
This commit is contained in:
@ -17,12 +17,18 @@ bool shouldIgnorePlatformException(PlatformException ex) {
|
|||||||
if (msg.contains("failed to connect to")) {
|
if (msg.contains("failed to connect to")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (msg.contains("No address associated with hostname")) {
|
if (msg.contains("no address associated with hostname")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (msg.contains("failed to connect to")) {
|
if (msg.contains("failed to connect to")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (msg.contains("unauthorized")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (msg.contains("failed to start ssh session")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user