Improve error tracking stacktrace method
What does this MR do and why?
Two things:
- Improves error tracking stacktrace method so it works when context is missing
- Adds factory for browser event so we are sure that such payload works well with ErrorEvent model
For #340178 (closed). Related to #329596 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dmytro Zaporozhets (DZ)