The current logging behavior for token refresh failures lacks sufficient detail for effective debugging. We recently encountered logs such as:
Failed to refresh token async:
This message provides no context or root cause, making it impossible to diagnose why the refresh failed.
Expected Behavior
When a token refresh fails, the logs should provide enough diagnostic information to identify whether the issue is network-related, an expired credential, or a logical error in the async flow.