Skip to content

dev: Improve Error Logging for Token Refresh Failures #785

@makhalin

Description

@makhalin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions