Skip to content

Draft route crashes on an unknown environmentId #446

Open

Description

@oxwen11

/draft?environmentId=<id of an Environment that is not connected> renders the root error boundary (Environment <id> is not connected) instead of falling back to the local Environment or showing a recoverable state. Source: environmentRpc.for() in apps/app/src/lib/environment-rpc.ts throws, called from routes/draft.tsx. Pre-existing on main; observed while verifying #402 (stale bookmarked URL after a remote is removed is the realistic trigger).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions