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

Ability to disable error tracking in dev? #81

Closed
sevenseacat opened this issue Sep 7, 2024 · 2 comments
Closed

Ability to disable error tracking in dev? #81

sevenseacat opened this issue Sep 7, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@sevenseacat
Copy link

The big insert statements when triggering an error in dev can make it hard to see what's actually going on by normal looking at the server logs, and I feel like we might not actually need to use the dashboard in dev to see if an error occurs?

But we need the package installed in dev, otherwise the migrations will cause a compilation error.

So can we have the package installed, but opt out of the error tracking functionality in dev?

@crbelaus
Copy link
Contributor

crbelaus commented Sep 7, 2024

Thanks for the report @sevenseacat, this request makes a lot of sense. Most likely it would be also a good idea to expose a setting that allows users to customize the ErrorTracker log level (or even fully disable logging).

Let me think about the best way of implementing this. In the meantime you may be interested in #79 which allows you to ignore specific errors. You could create a custom ignorer that ignores every error on development.

@odarriba
Copy link
Contributor

odarriba commented Sep 8, 2024

Hello @sevenseacat !

We are going to release a new version that includes an enabled config flag that allows to disable error tracking on specific environments.

You can see the details in #82.

Thanks for reporting the issue! 🚀

@odarriba odarriba self-assigned this Sep 8, 2024
@odarriba odarriba added the enhancement New feature or request label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants