Skip to content

Commit

Permalink
fix: specify request type always
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Apr 20, 2024
1 parent 69bab95 commit fae7d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dank_mids/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def make_request(self, method: str, params: List[Any], request_id: Optiona
return await _session.post(self.endpoint, data=request, loads=_decode.raw)
except Exception as e:
if ENVS.DEBUG:
_debugging.failures.record(self.chain_id, e, "unknown", "unknown", request.data)
_debugging.failures.record(self.chain_id, e, "eth_call" if method == "eth_call" else "RPCRequest", "unknown", request.data)
raise

async def execute_batch(self) -> None:
Expand Down

0 comments on commit fae7d2b

Please sign in to comment.