diff --git a/docs/platforms/javascript/guides/remix/manual-setup.mdx b/docs/platforms/javascript/guides/remix/manual-setup.mdx index 5ce76ce26aed6..ba46cef1c9831 100644 --- a/docs/platforms/javascript/guides/remix/manual-setup.mdx +++ b/docs/platforms/javascript/guides/remix/manual-setup.mdx @@ -223,7 +223,11 @@ export function handleError( } ``` -After you've completed this setup, the SDK will automatically capture unhandled errors and promise rejections, and monitor performance in the client. You can also [manually capture errors](/platforms/javascript/guides/remix/usage). +### Source Maps Upload + +To enable readable stack traces, configure source maps upload for your production builds. + +After you've completed this setup, the SDK will automatically capture unhandled errors and promise rejections, and monitor performance. You can also [manually capture errors](/platforms/javascript/guides/remix/usage). ## Verify This snippet includes an intentional error, so you can test that everything is working as soon as you set it up. @@ -236,10 +240,6 @@ You can refer to [Remix Docs](https://remix.run/docs/en/main/guides/envvars#brow -## Configure Source Maps Upload - -To enable readable stack traces, configure source maps upload for your production builds. - ## Custom Express Server You can import your server instrumentation file at the top of your Express server implementation.