Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug mode in with_sentry_client #2060

Closed
loewenheim opened this issue May 3, 2024 · 2 comments · Fixed by #2083
Closed

Enable debug mode in with_sentry_client #2060

loewenheim opened this issue May 3, 2024 · 2 comments · Fixed by #2083
Assignees

Comments

@loewenheim
Copy link
Contributor

There is a comment in with_sentry_client about debug mode:

// TODO: do we want to eventually set `debug` based on the CLI log-level?
// debug: true,

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.

@elramen
Copy link
Contributor

elramen commented May 3, 2024

This applies to send-event also

@elramen
Copy link
Contributor

elramen commented May 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants