diff --git a/src/WingetCreateCLI/Commands/BaseCommand.cs b/src/WingetCreateCLI/Commands/BaseCommand.cs index 3792eeff..6dc9b2aa 100644 --- a/src/WingetCreateCLI/Commands/BaseCommand.cs +++ b/src/WingetCreateCLI/Commands/BaseCommand.cs @@ -501,16 +501,16 @@ protected async Task GitHubSubmitManifests(Manifests manifests) if (e is Octokit.ForbiddenException) { Logger.ErrorLocalized(nameof(Resources.Error_Prefix), e.Message); - return true; + return false; } else if (e is NonFastForwardException nonFastForwardException) { Logger.ErrorLocalized(nameof(Resources.FastForwardUpdateFailed_Message), nonFastForwardException.CommitsAheadBy); - return true; + return false; } else { - return false; + throw; } }