docs: added sentry guide (#12744)

* docs: added sentry guide

* added error capturing

* generate
This commit is contained in:
Shahed Nasser
2025-06-24 12:05:37 +03:00
committed by GitHub
parent 85bc396e03
commit 474e97c9be
13 changed files with 916 additions and 17 deletions
@@ -692,7 +692,7 @@ export async function POST(
}
```
Since you export a `POST` route handler function, you expose an `API` route at `/admin/algolia/sync`. The route handler function accepts two parameters:
Since you export a `POST` route handler function, you expose a `POST` API route at `/admin/algolia/sync`. The route handler function accepts two parameters:
1. A request object with details and context on the request, such as body parameters or authenticated user details.
2. A response object to manipulate and send the response.