fix(orgtoken,wsauth): log ignored last_used_at update errors #1916
Reference in New Issue
Block a user
Delete Branch "fix/token-last-used-ignored-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Best-effort last_used_at bumps in token validation paths were silently ignoring DB errors. Log them without changing the non-failing behavior.
PM 2nd-approve per direct CTO request. Best-effort last_used_at bump errors now logged in orgtoken/tokens + wsauth/tokens (2 sites). No behavior change.
LGTM — focused logging for best-effort last_used_at update failures; preserves non-failing auth behavior with no correctness, security, or performance concerns.