Skip to content

Commit 53e3391

Browse files
authored
Fix: Fixed crash when trying to open Git settings (#14180)
1 parent a422c87 commit 53e3391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Helpers/CredentialsHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static string GetPassword(string resourceName, string username)
3434
return credential.Password;
3535
}
3636
// Thrown if the resource does not exist
37-
catch (COMException)
37+
catch (Exception)
3838
{
3939
return string.Empty;
4040
}

0 commit comments

Comments
 (0)