Skip to content

Conversation

@mondaychen
Copy link
Contributor

@mondaychen mondaychen commented Apr 23, 2024

When loading page timed out, we assume it's loaded instead of throwing. This is to handle cases when 1) there's bad link to analytics or ads scripts on the page 2) looping JS that keeps changing the page

Also, introduced new eslint rules no-throw-literal and prefer-promise-reject-errors to ensure we always have error.message to be shown to user

@mondaychen mondaychen changed the title Improve error handling when loading timeout + eslint rule Improve error handling when loading timeout + eslint rules Apr 23, 2024
@mondaychen mondaychen merged commit 0386568 into main Apr 23, 2024
@mondaychen mondaychen deleted the better_timeout branch May 23, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants