diff options
Diffstat (limited to 'src/bin/git_remote_nostr/utils.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/utils.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/git_remote_nostr/utils.rs b/src/bin/git_remote_nostr/utils.rs index 40fe937..6e09851 100644 --- a/src/bin/git_remote_nostr/utils.rs +++ b/src/bin/git_remote_nostr/utils.rs | |||
| @@ -298,9 +298,10 @@ pub fn error_might_be_authentication_related(error: &anyhow::Error) -> bool { | |||
| 298 | for s in [ | 298 | for s in [ |
| 299 | "no ssh keys found", | 299 | "no ssh keys found", |
| 300 | "invalid or unknown remote ssh hostkey", | 300 | "invalid or unknown remote ssh hostkey", |
| 301 | "all authentication attempts failed", | 301 | "authentication", |
| 302 | "Permission to", | 302 | "Permission", |
| 303 | "Repository not found", | 303 | "permission", |
| 304 | "not found", | ||
| 304 | ] { | 305 | ] { |
| 305 | if error_str.contains(s) { | 306 | if error_str.contains(s) { |
| 306 | return true; | 307 | return true; |