minor logging changes
This commit is contained in:
parent
510ac9a709
commit
726a3309b7
|
@ -169,9 +169,10 @@
|
||||||
:body (json/write-str body)}
|
:body (json/write-str body)}
|
||||||
response @(post (eth-rpc-url) options)
|
response @(post (eth-rpc-url) options)
|
||||||
result (safe-read-str (:body response))]
|
result (safe-read-str (:body response))]
|
||||||
(log/infof "%s: eth-rpc %s" (or internal-tx-id "(no-tx-id)") method)
|
(when internal-tx-id
|
||||||
(log/debugf "eth-rpc req(%s) body: %s\neth-rpc req(%s) result: %s"
|
(log/infof "%s: eth-rpc %s" internal-tx-id method))
|
||||||
request-id body request-id result)
|
(log/debugf "%s: eth-rpc req(%s) body: %s" internal-tx-id request-id body)
|
||||||
|
(log/debugf "%s: eth-rpc req(%s) result: %s" internal-tx-id request-id result)
|
||||||
(cond
|
(cond
|
||||||
;; Ignore any responses that have mismatching request ID
|
;; Ignore any responses that have mismatching request ID
|
||||||
(not= (:id result) request-id)
|
(not= (:id result) request-id)
|
||||||
|
|
Loading…
Reference in New Issue