Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Add other error
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Jul 21, 2020
1 parent c7bd214 commit 6d06d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo-cli/CLI/MainService.Contracts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ private void OnInvokeCommand(UInt160 scriptHash, string operation, JArray contra
{
tx = CurrentWallet.MakeTransaction(tx.Script, signers.Length > 0 ? signers[0].Account : null, signers);
}
catch (InvalidOperationException)
catch (InvalidOperationException e)
{
Console.WriteLine("Error: insufficient balance.");
Console.WriteLine("Error: " + GetExceptionMessage(e));
return;
}
if (!ReadUserInput("Relay tx(no|yes)").IsYes())
Expand Down

0 comments on commit 6d06d40

Please sign in to comment.