arlyon / async-stripe

Async (and blocking!) Rust bindings for the Stripe API
https://payments.rs
Apache License 2.0
454 stars 129 forks source link

Please use tracing to output more parser error information #483

Open i18nsite opened 8 months ago

i18nsite commented 8 months ago

Now parsing error, only a simple sentence : error parsing event object.

I have to create a project and parse strings with serde_json::from_str to see the specific problem.

Please use tracing to output more parser error information

arlyon commented 7 months ago

I have marked this as enhancement and good first issue, thanks for the suggestion! serde doesn't give great errors by default but we could do better here.