diff --git a/neo-cli/CLI/MainService.cs b/neo-cli/CLI/MainService.cs index bff3f05e6..04361533e 100644 --- a/neo-cli/CLI/MainService.cs +++ b/neo-cli/CLI/MainService.cs @@ -404,6 +404,10 @@ public async void Start(string[] args) { Console.WriteLine($"Failed to open file \"{Settings.Default.UnlockWallet.Path}\""); } + catch (Exception ex) + { + Console.WriteLine($"error: {ex.GetBaseException().Message}"); + } } } diff --git a/neo-cli/neo-cli.csproj b/neo-cli/neo-cli.csproj index 84a46431a..d4bc9523d 100644 --- a/neo-cli/neo-cli.csproj +++ b/neo-cli/neo-cli.csproj @@ -1,4 +1,4 @@ - + 2016-2021 The Neo Project @@ -23,7 +23,7 @@ - +