getsentry / sentry-rust

Official Sentry SDK for Rust
https://sentry.io/
Apache License 2.0
620 stars 153 forks source link

ref(client): Make prepare_event public #662

Closed elramen closed 5 months ago

elramen commented 5 months ago

Make prepare_event public so that sentry-cli can use it directly instead of via capture_event. This allows sentry-cli to do the actual transmission (with its envelopes client), enabling debug logging and non-zero exit codes on transmission failure.