Skip to content

When saving fails, detect error and respond appropriately #3723

@rschamp

Description

@rschamp

When we catch errors after attempting to store project or asset data, we should let the user know and attempt to recover if possible.

Scratch 2.0 retries, backing off exponentially if it fails to save. Scratch 2.0 also assumes that the user is logged out when it fails to save sometimes. We should avoid this behavior in 3.0.

We should retry saving using exponential backoff in some situations:

...and prompt user to take specific action in other situations:

But in all cases, we want to prompt the user to download their project ASAP:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions