More sentry monitoring
This commit is contained in:
@@ -5,6 +5,7 @@ import { type EntryContext } from "@remix-run/cloudflare";
|
||||
import { RemixServer } from "@remix-run/react";
|
||||
import { renderToString } from "react-dom/server";
|
||||
import { ServerStyleContext } from "./context.js";
|
||||
import * as Sentry from "@sentry/remix";
|
||||
|
||||
export default function handleRequest(
|
||||
request: Request,
|
||||
@@ -39,3 +40,5 @@ export default function handleRequest(
|
||||
status: responseStatusCode,
|
||||
});
|
||||
}
|
||||
|
||||
export const handleError = Sentry.sentryHandleError;
|
||||
|
||||
Reference in New Issue
Block a user