docs: added sentry guide (#12744)

* docs: added sentry guide

* added error capturing

* generate
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-06-24 12:05:37 +03:00
1 parent 85bc396e03
commit 474e97c9be
13 files changed
+916 -17

No files matched your search

@@ -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.