Skip to content

Space recovery errors are silently ignored during creation #571

@lalitcap23

Description

@lalitcap23

Problem

When creating a new space, if the recovery setup fails, we just ignore it and move on. Users have no idea their space isn't actually recoverable.

There are even two TODO comments in the code acknowledging this is bad:

File: packages/console/src/components/SpaceCreator.tsx (lines 115-118)

// TODO this should have its own UX, like the CLI does, which would allow us to handle errors
const recovery = await space.createRecovery(account.did())

// TODO we are currently ignoring the result of this because we have no good way to handle errors - revamp this ASAP!
await account.save()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions