Skip to content

Use SentryOptions#clock whenever possible instead of getUtcDateTime or DateTime.now() directly. #811

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

Closed
marandaneto opened this issue Mar 29, 2022 · 0 comments · Fixed by #1110

Comments

@marandaneto
Copy link
Contributor

It makes it testable and it reuses the function.

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

Successfully merging a pull request may close this issue.

2 participants