Skip to content

Error: More Context Objects Passed #18126

Open
@chadhietala

Description

@chadhietala

There is a bug in Ember >= 3.6.0 where if you synchronously throw an error in a route hook you will see this mysterious error message instead of the actual error:

Error: More context objects were passed than there are dynamic segments for the route: error

There seems to be a bug in router.js that includes the error object as part of the contexts array.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions