Skip to content

Commit

Permalink
fix(remix): Fix request arg in handleError template. (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan authored Sep 27, 2023
1 parent 0231cd3 commit 455fdaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Unreleased

fix(remix): Use captureRemixServerException inside handleError. (#466)

fix(remix): Fix `request` arg in `handleError` template. (#469)
## 3.14.1

ref(sveltekit): Add log for successful Vite plugin insertion (#465)
Expand Down
2 changes: 1 addition & 1 deletion src/remix/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const ERROR_BOUNDARY_TEMPLATE_V2 = `const ErrorBoundary = () => {
`;

export const HANDLE_ERROR_TEMPLATE_V2 = `function handleError(error, { request }) {
Sentry.captureRemixServerException(error, 'remix.server', { request });
Sentry.captureRemixServerException(error, 'remix.server', request);
}
`;

0 comments on commit 455fdaa

Please sign in to comment.