Skip to content
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
This repository was archived by the owner on Aug 27, 2020. It is now read-only.

Manage Auth errors #52

@edipox

Description

@edipox

Currently when there is an auth error, for example an invalid access token.
We have the following error:

Warning: RelayReadyState: Invalid state change from `{"aborted":false,"done":false,"error":{},"events":[{"type":"NETWORK_QUERY_START"},{"type":"CACHE_RESTORE_START"},{"type":"CACHE_RESTORE_FAILED"},{"type":"NETWORK_QUERY_ERROR","error":{}}],"ready":false,"stale":false}` to `{"error":{}}`.

Instead of this we should just redirect to login page with an explanatory message

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions