Skip to content

Commit

Permalink
Show error in config in reth-rbuilder (#266)
Browse files Browse the repository at this point in the history
## 📝 Summary

Before, if there was an error in the config file, it would only show the
context error "Config file parsing" but it would not show the specific
error. This PR changes that and shows the full error.

---

## ✅ I have completed the following steps:

* [x] Run `make lint`
* [x] Run `make test`
* [x] Added tests (if applicable)
  • Loading branch information
ferranbt authored Dec 5, 2024
1 parent 93d5d5e commit 024eb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/reth-rbuilder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ where
.await;

if let Err(e) = result {
error!("Fatal rbuilder error: {}", e);
error!("Fatal rbuilder error: {:#}", e);
process::exit(1);
}

Expand Down

0 comments on commit 024eb38

Please sign in to comment.