Skip to content

Conversation

@marcofugaro
Copy link
Contributor

Close #49

Now you can catch Spline errors with ErrorBoundary correctly.

import { ErrorBoundary } from "react-error-boundary";

<ErrorBoundary fallback={<div>Something went wrong</div>}>
  <Spline scene="https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode" />
</ErrorBoundary>

@marcofugaro marcofugaro merged commit 3de8f91 into main Jun 20, 2024
@marcofugaro marcofugaro deleted the throw-error branch June 20, 2024 13:44
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.

Error handling

2 participants