Skip to content

Commit

Permalink
Update dagfactory/telemetry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana authored Jan 3, 2025
1 parent 2255c58 commit 3ba0055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dagfactory/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def emit_usage_metrics(metrics: dict[str, object]) -> bool:
logging.debug("Telemetry is enabled. Emitting the following usage metrics to %s: %s", telemetry_url, metrics)
try:
response = httpx.get(telemetry_url, timeout=constants.TELEMETRY_TIMEOUT, follow_redirects=True)
except httpx.ConnectError as e:
except httpx.HTTPError as e:
logging.warning(
"Unable to emit usage metrics to %s. An HTTPX connection error occurred: %s.", telemetry_url, str(e)
)
Expand Down

0 comments on commit 3ba0055

Please sign in to comment.