Skip to content

Commit

Permalink
Linked GH issue in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed May 10, 2024
1 parent 5dbdf35 commit 8b710ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sentry_sdk/integrations/django/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def _get_address_port(settings):
location = settings.get("LOCATION")
# TODO: location can also be an array of locations
# see: https://docs.djangoproject.com/en/5.0/topics/cache/#redis
# GitHub issue: https://github.com/getsentry/sentry-python/issues/3062
if isinstance(location, str):
if ":" in location:
address, port = location.rsplit(":", 1)
Expand Down

0 comments on commit 8b710ab

Please sign in to comment.