-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(with-sentry example): Small tweaks (#28359)
This PR makes two changes: - It updates the index page to reflect the fact that `withSentry` should now be working for API routes deployed to Vercel. - It changes the route which returns a promise rejection to be more obvious about the fact that that's what it's doing.
- Loading branch information
1 parent
367f8d6
commit cee1565
Showing
5 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const Test2 = () => <h1>SSR Test 2</h1> | ||
|
||
export async function getServerSideProps() { | ||
throw new Error('SSR Test 2') | ||
return Promise.reject(Error('SSR Test 2')) | ||
} | ||
|
||
export default Test2 |
This file was deleted.
Oops, something went wrong.