Skip to content

Commit 21c722b

Browse files
authored
Code Quality: Improved error handling in RequireGitAuthenticationAsync (#14646)
1 parent dde05f6 commit 21c722b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Files.App/Utils/Git/GitHelpers.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,8 @@ public static async Task RequireGitAuthenticationAsync()
634634
catch (SocketException ex)
635635
{
636636
_logger.LogWarning(ex.Message);
637-
return;
637+
dialog.Hide();
638+
break;
638639
}
639640
}
640641

0 commit comments

Comments
 (0)