emberjs / emberjs/ember.js

Error: More Context Objects Passed

Open
#18,126 2 comments 0 reactions 0 assignees View on GitHub
bug Has Reproduction Routing
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.