sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

Enable debug mode in `with_sentry_client`

Open loewenheim opened this issue 1 year ago • 2 comments

There is a comment in with_sentry_client about debug mode: https://github.com/getsentry/sentry-cli/blob/554f4fcdcba74c203b628dd695ddbc89702db8e7/src/utils/event.rs#L84-L85

Since the help message of send-envelope (which uses with_sentry_client) says

Check debug output for transmission errors by passing --log-level=debug or setting SENTRY_LOG_LEVEL=debug.

we should probably go through with this.

loewenheim avatar May 03 '24 14:05 loewenheim

This applies to send-event also

elramen avatar May 03 '24 16:05 elramen

Instead of using with_sentry_client, we could probably use EnvelopesApi which will be added to sentry-cli

elramen avatar May 15 '24 15:05 elramen