k6
k6 copied to clipboard
Add source for uncaught exceptions
What?
Add source as throwable for uncaught error log messages
Why?
Log messages for uncaught errors do not have source
Checklist
- [x] I have performed a self-review of my code.
- [x] I have added tests for my changes.
- [x] I have run linter locally (
make lint) and all checks pass. - [x] I have run tests locally (
make tests) and all tests pass. - [ ] I have commented on my code, particularly in hard-to-understand areas.
Related PR(s)/Issue(s)
Closes #3842
hi @joanlopez , thanks for your reply. i have added a test for the change. also added logrus.ErrorLevel to logHook. please review