always log infura response

This commit is contained in:
Martin Klepsch 2018-04-19 10:21:09 +02:00
parent c4ab1047f2
commit c622c75b6c
No known key found for this signature in database
GPG Key ID: 1A35E702AD48A9F6
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@
(when internal-tx-id (when internal-tx-id
(log/infof "%s: eth-rpc %s" internal-tx-id method)) (log/infof "%s: eth-rpc %s" internal-tx-id method))
(log/debugf "%s: eth-rpc req(%s) body: %s" internal-tx-id request-id body) (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) (log/infof "%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)