mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +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")) {
|
||||
return true;
|
||||
}
|
||||
if (msg.contains("No address associated with hostname")) {
|
||||
if (msg.contains("no address associated with hostname")) {
|
||||
return true;
|
||||
}
|
||||
if (msg.contains("failed to connect to")) {
|
||||
return true;
|
||||
}
|
||||
if (msg.contains("unauthorized")) {
|
||||
return true;
|
||||
}
|
||||
if (msg.contains("failed to start ssh session")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user