Skip to content

Commit

Permalink
fix: Set logger for skipping API usage (#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan authored Jan 17, 2025
1 parent fe1934b commit 3c49ae0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/organisations/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def handle_api_usage_notifications() -> None:
},
).is_feature_enabled("api_usage_alerting")
if not feature_enabled:
logger.info(
f"Skipping processing API usage for organisation {organisation.id}"
)
continue

try:
Expand Down

0 comments on commit 3c49ae0

Please sign in to comment.