Skip to content

Conversation

zeroXbrock
Copy link
Member

@zeroXbrock zeroXbrock commented Apr 30, 2025

Motivation

If an RPC error occurs, we want to log it with max detail.

Solution

  • debug! call in provider when it receives an error from self.inner.call

To see all debug logs, set RUST_LOG=debug in your environment:

RUST_LOG=debug cargo run -- spam ./scenarios/simple.toml --tps 100

Restricting debug logs to contender_core crate:

RUST_LOG=contender_core=debug cargo run -- spam ./scenarios/simple.toml --tps 100

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Contributor

github-actions bot commented Apr 30, 2025

Preview Report

An example contender report preview is available here.

@zeroXbrock zeroXbrock merged commit cb8d480 into main Apr 30, 2025
8 checks passed
@zeroXbrock zeroXbrock deleted the feat/trace-provider-debug branch April 30, 2025 18:09
@github-actions github-actions bot mentioned this pull request Jun 18, 2025
This was referenced Aug 14, 2025
This was referenced Aug 28, 2025
This was referenced Sep 4, 2025
This was referenced Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant