fix: remove baton warning log
CI / lint (pull_request) Successful in 22s
Build and Publish / release (push) Successful in 13s
CI / test (3.11) (pull_request) Successful in 23s
CI / test (3.13) (pull_request) Successful in 21s
CI / test (3.12) (pull_request) Successful in 34s
CI / test (3.11) (push) Successful in 25s
CI / lint (push) Successful in 19s
CI / test (3.12) (push) Successful in 28s
CI / test (3.13) (push) Successful in 28s

This commit was merged in pull request #8.
This commit is contained in:
2026-07-09 13:17:00 +02:00
parent 5987258e1f
commit 49c4f12898
@@ -362,12 +362,6 @@ class UserRightsException(AareAuthError):
self.headers = headers
self.code = code
now = time.monotonic()
last_ts = self._last_log_ts_by_message.get(message, 0.0)
if (now - last_ts) >= self._throttle_window_s:
self._last_log_ts_by_message[message] = now
logger.warning(message, extra={"exception:": Exception})
def __str__(self) -> str:
return self.message