diff --git a/ApiDocs.Console/Program.cs b/ApiDocs.Console/Program.cs index 7c213ee..2319d2a 100644 --- a/ApiDocs.Console/Program.cs +++ b/ApiDocs.Console/Program.cs @@ -1086,6 +1086,7 @@ private static async Task PublishDocumentationAsync(PublishOptions options "An error occured while publishing: {0}", ex.Message); FancyConsole.VerboseWriteLine(ex.ToString()); + Exit(failure: true, customExitCode: 99); return false; }