emberjs / emberjs/ember.js

Rendering errors lack context

Open
#19,982 0 comments 0 reactions 0 assignees View on GitHub
bug Error Handling
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

### 🐞 Describe the Bug
The stack trace for the error is not helpful.

### 🔬 Minimal Reproduction
Describe steps to reproduce. If possible, please, share a link with a minimal reproduction.

### 😕 Actual Behavior
A clear and concise description of what is happening.
![Screen_Shot_2022-02-17_at_9 58 40_AM](https://user-images.githubusercontent.com/39878535/155176702-631b6178-5faf-4701-9d5c-0b6f55f493de.png)
![Screen_Shot_2022-02-17_at_10 00 31_AM](https://user-images.githubusercontent.com/39878535/155176707-386f331d-8b8a-48b4-a83f-0df7f4069ad6.png)

You'll notice that there is _no_ message in the stack providing guidance about what's the actual problem. This makes it quite difficult to debug what's going on.

### 🤔 Expected Behavior
A clear and concise description of what you expected to happen.

### 🌍 Environment

- Ember: - `"ember-source": "~3.28.0",`
- Node.js/npm: - 14.16.1/8.5.1
- OS: - MacOS 11.6.2
- Browser: - Chrome

### ➕ Additional Context
NullVoxPopuli and I had a conversation about this in the Discord: https://discord.com/channels/480462759797063690/943875698517479454

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.