diff --git a/ElectronNET.CLI/Commands/BuildCommand.cs b/ElectronNET.CLI/Commands/BuildCommand.cs index c7d8eae..f44bc5e 100644 --- a/ElectronNET.CLI/Commands/BuildCommand.cs +++ b/ElectronNET.CLI/Commands/BuildCommand.cs @@ -78,7 +78,7 @@ namespace ElectronNET.CLI.Commands if (resultCode != 0) { - Console.WriteLine("Error occurred during dotnet publish."); + Console.WriteLine("Error occurred during dotnet publish: " + resultCode); return false; } diff --git a/ElectronNET.CLI/Commands/StartElectronCommand.cs b/ElectronNET.CLI/Commands/StartElectronCommand.cs index 48e0fba..51dfb18 100644 --- a/ElectronNET.CLI/Commands/StartElectronCommand.cs +++ b/ElectronNET.CLI/Commands/StartElectronCommand.cs @@ -55,7 +55,7 @@ namespace ElectronNET.CLI.Commands if (resultCode != 0) { - Console.WriteLine("Error occurred during dotnet publish."); + Console.WriteLine("Error occurred during dotnet publish: " + resultCode); return false; }