mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Ignore 'invalid credentials' platform exception
This commit is contained in:
@ -26,6 +26,9 @@ bool shouldIgnorePlatformException(PlatformException ex) {
|
|||||||
if (msg.contains("unauthorized")) {
|
if (msg.contains("unauthorized")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (msg.contains("invalid credentials")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (msg.contains("failed to start ssh session")) {
|
if (msg.contains("failed to start ssh session")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user