Skip to content

Commit

Permalink
Merge branch 'main' into create-remix-cli-package-managers
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-sob committed Apr 16, 2024
2 parents 2ba2eb8 + 98a012d commit fae0d08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions contributors.yml
Expand Up @@ -7,6 +7,7 @@
- achinchen
- adamwathan
- adicuco
- AdiRishi
- ahabhgk
- ahbruns
- ahmedeldessouki
Expand Down Expand Up @@ -646,6 +647,7 @@
- wilcoschoneveld
- willhack
- willin
- willowcheng
- wizardlyhel
- wKovacs64
- wladiston
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/errors.md
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
6 changes: 3 additions & 3 deletions templates/cloudflare/package.json
Expand Up @@ -16,12 +16,12 @@
"@remix-run/cloudflare-pages": "*",
"@remix-run/react": "*",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"miniflare": "^3.20240404.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230518.0",
"@cloudflare/workers-types": "^4.20240405.0",
"@remix-run/dev": "*",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
Expand All @@ -37,7 +37,7 @@
"typescript": "^5.1.6",
"vite": "^5.1.0",
"vite-tsconfig-paths": "^4.2.1",
"wrangler": "^3.24.0"
"wrangler": "^3.48.0"
},
"engines": {
"node": ">=18.0.0"
Expand Down

0 comments on commit fae0d08

Please sign in to comment.