print error received by verifier, and continue

This commit is contained in:
thomasv 2013-03-14 10:49:00 +01:00
parent b7dd1699ad
commit bdb515dabd
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,10 @@ class WalletVerifier(threading.Thread):
continue
if not r: continue
if r.get('error'):
print_error('Verifier received an error:', r)
continue
# 3. handle response
method = r['method']
params = r['params']