Skip to content

Commit

Permalink
Update errors.md for typo of "then" (remix-run#9235)
Browse files Browse the repository at this point in the history
  • Loading branch information
willowcheng authored Apr 16, 2024
1 parent 8ec1e0c commit 87b59c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -670,3 +670,4 @@
- zainfathoni
- zayenz
- zhe
- willowcheng
2 changes: 1 addition & 1 deletion docs/guides/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function ErrorBoundary() {
}
```

If you need to log these errors or report then to a third-party service such as [BugSnag][bugsnag] or [Sentry][sentry], then you can do this through a [`handleError`][handle-error] export in your [`app/entry.server.js`][entry-server]. This method receives the un-sanitized versions of the error since it is also running on the server.
If you need to log these errors or report them to a third-party service such as [BugSnag][bugsnag] or [Sentry][sentry], then you can do this through a [`handleError`][handle-error] export in your [`app/entry.server.js`][entry-server]. This method receives the un-sanitized versions of the error since it is also running on the server.

If you want to trigger an error boundary and display a specific message or data in the browser, then you can throw a `Response` from a `action`/`loader` with that data instead:

Expand Down

0 comments on commit 87b59c1

Please sign in to comment.