Skip to content

Commit

Permalink
Fix wrong header in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuh25 committed May 2, 2024
1 parent 301f3a0 commit d98d997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/event_reader/fast_json_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _make_request(self, method: RPCEndpoint, params: Any) -> RPCResponse:
logger.error(
"Unexpected decode RPC response error: %s, current provider ID is %s",
str(e),
raw_response.headers.get("x-drpc-trace-id", ""),
raw_response.headers.get("x-drpc-provider-id", ""),
extra={"response_headers": raw_response.headers},
)
logger.exception(e)
Expand Down

0 comments on commit d98d997

Please sign in to comment.