Skip to content

Conversation

NicoHinderling
Copy link
Contributor

While looking through GCP logs, I see this noisy log showing up a ton:

/usr/src/sentry/src/sentry/utils/dates.py:193: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

lets address it

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 15, 2025
cursor[bot]

This comment was marked as outdated.

Copy link

codecov bot commented Sep 15, 2025

✅ All tests passed

cursor[bot]

This comment was marked as outdated.

@NicoHinderling NicoHinderling force-pushed the update-datetime-get-rid-of-noisy-log branch from 7216c73 to 6004b97 Compare September 15, 2025 22:00
@NicoHinderling NicoHinderling changed the title chore: Update datetime method to avoid noisy log chore: Update datetime method to clean up noisy log Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant