better error logging
- Dominant language
- TypeScript
- Stars
- 11.7k
- Forks
- 608
- PR merge metrics
- No merged PRs in 30d
Description
**I'm submitting a feature request**
* **Library Version:**
aurelia-script 1.3.1
**Current behavior:**
If you make a typo, or on this case I forgot to add `async` to a function, you get a long but useless stacktrace pointing to inside of aurelia but nowhere in the stack trace does it give me any clue of what view, class, file is at fault. I've had this issue for years, ever since Aurelia was still in beta and it's been my biggest problem with aurelia ever since. Because despite having `.developmentLogging()` enabled I'm subjected to tearing my app down and uncommenting it line by line until I find the needle in the haystack

**Expected Behavior:**
Some general information about origin of the error - the file, line, or a class/method
Contributor guide
Research direction
Start by reproducing the missing-async or typo case in aurelia-script 1.3.1 with .developmentLogging() enabled and inspect the resulting stack trace. Done means errors include useful origin information such as the affected view, class, file, line, or method instead of only Aurelia internals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100