next.js
8dd35800 - [dev-overlay] fix: proceed to get runtime error when fails to fetch original stack frames (#75743)

Commit
1 year ago
[dev-overlay] fix: proceed to get runtime error when fails to fetch original stack frames (#75743) ### Why? When fetch fails to get the original stack frames, the process to get the Runtime Errors fails. The fetch will likely fail on Storybook stories. | Before | After | |--------|--------| | ![CleanShot 2025-02-06 at 21 21 19](https://github.com/user-attachments/assets/7e136a02-8b1f-4ec0-8430-e02d919610c3) | ![CleanShot 2025-02-06 at 21 21 33](https://github.com/user-attachments/assets/5ce9f95f-f5a2-4738-b8c5-5152733aeab7) | ### How? Correctly reject when request fails so that it may be caught at `_getOriginalStackFrame()` and return the stack frame.
Author
Parents
Loading