diff options
Diffstat (limited to 'contrib/signet')
-rwxr-xr-x | contrib/signet/getcoins.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/signet/getcoins.py b/contrib/signet/getcoins.py index d0a12beb29..86755e6305 100755 --- a/contrib/signet/getcoins.py +++ b/contrib/signet/getcoins.py @@ -31,6 +31,10 @@ def bitcoin_cli(rpc_command_and_params): except FileNotFoundError: print('The binary', args.cmd, 'could not be found.') exit() + except subprocess.CalledProcessError: + cmdline = ' '.join(argv) + print(f'-----\nError while calling "{cmdline}" (see output above).') + exit() if args.faucet.lower() == DEFAULT_GLOBAL_FAUCET: |