We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f4ab7 commit 2ee6f4aCopy full SHA for 2ee6f4a
sentry_sdk/integrations/django/__init__.py
@@ -649,7 +649,7 @@ def _cache_database_configurations():
649
650
_cached_db_configs[alias] = {
651
"db_name": db_config.get("NAME"),
652
- "host": db_config.get("HOST", "localhost"),
+ "host": db_config.get("HOST"),
653
"port": db_config.get("PORT"),
654
"unix_socket": db_config.get("OPTIONS", {}).get("unix_socket"),
655
"engine": db_config.get("ENGINE"),
@@ -743,7 +743,7 @@ def connect(self):
743
with capture_internal_exceptions():
744
_set_db_data(span, self)
745
746
- return connection
+ return connection
747
748
CursorWrapper.execute = execute
749
CursorWrapper.executemany = executemany
0 commit comments