Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle error "Application error: a client-side exception has occurred" #214

Open
duynguyenJRGVN opened this issue Jan 8, 2025 · 0 comments

Comments

@duynguyenJRGVN
Copy link

  • react-error-boundary version: ^5.0.0
  • node version: 22.11

Relevant code or config

	const logError = (error: Error, info: ErrorInfo) => {
		// Do something with the error, e.g. log to an external API
		console.log(error, info);
	};
	<ErrorBoundary FallbackComponent={Fallback} onError={logError}>

Problem description:
I got an error when refresh page
image

@duynguyenJRGVN duynguyenJRGVN changed the title How to hadle "Application error: a client-side exception has occurred" How to handle error "Application error: a client-side exception has occurred" Jan 8, 2025
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

No branches or pull requests

1 participant