Skip to content

Commit 74c391b

Browse files
emyllerclaude
andauthored
fix(Logging): Omit org name from logging (#6842)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 43bb456 commit 74c391b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

api/organisations/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def charge_for_api_call_count_overages(): # type: ignore[no-untyped-def]
260260
case _:
261261
logger.error(
262262
"Unknown subscription plan when trying to bill for overages"
263-
f" {organisation.id=} {organisation.name=} {organisation.subscription.plan=}"
263+
f" {organisation.id=} {organisation.subscription.plan=}"
264264
)
265265
continue
266266
except Exception:

api/tests/unit/organisations/test_unit_organisations_tasks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,6 @@ def test_charge_for_api_call_count_overages_non_standard(
14291429
assert inspecting_handler.messages == [ # type: ignore[attr-defined]
14301430
"Unknown subscription plan when trying to bill for overages "
14311431
f"organisation.id={organisation.id} "
1432-
f"organisation.name='{organisation.name}' "
14331432
"organisation.subscription.plan='nonstandard-v2'"
14341433
]
14351434

0 commit comments

Comments
 (0)