Add error line for rpc fails in dispatch
This commit is contained in:
parent
54d10ee40b
commit
3e05717395
@ -135,7 +135,8 @@ class ChaindFsAdapter(ChaindAdapter):
|
|||||||
r = None
|
r = None
|
||||||
try:
|
try:
|
||||||
r = self.dispatcher.send(tx_wire)
|
r = self.dispatcher.send(tx_wire)
|
||||||
except RPCException:
|
except RPCException as e:
|
||||||
|
logg.error('dispatch send failed for {}: {}'.format(tx_hash, e))
|
||||||
self.store.fail(tx_hash)
|
self.store.fail(tx_hash)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user