paradigmxyz / cryo

cryo is the easiest way to extract blockchain data to parquet, csv, json, or python dataframes
Apache License 2.0
1.12k stars 97 forks source link

Update main.rs #167

Open mettete opened 8 months ago

mettete commented 8 months ago

Motivation

The main.rs file in the cryo_cli crate serves as the application's entry point. The existing implementation had opportunities for improvement in error handling and code readability. Specifically, the error handling varied based on build configurations (debug vs. release), and there was potential to enhance the overall structure and documentation of the code for better clarity and maintainability.

Solution

This pull request introduces several key changes to main.rs:

Changes made:

These changes aim to enhance the overall quality of the cryo_cli crate, making it more robust and easier to work with for developers.

PR Checklist

sslivkoff commented 7 months ago

hi. these changes seem good but it looks like a useful error printout was removed during the refactor

mettete commented 7 months ago

hi. these changes seem good but it looks like a useful error printout was removed during the refactor

added thanks for feedback

mettete commented 5 months ago

hi. these changes seem good but it looks like a useful error printout was removed during the refactor

is there a still any error