We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac9e3ec commit 43b8a3dCopy full SHA for 43b8a3d
packages/nextjs/src/common/wrapApiHandlerWithSentry.ts
@@ -45,7 +45,7 @@ export const withSentryAPI = wrapApiHandlerWithSentry;
45
* @param parameterizedRoute The route whose handler is being wrapped. Meant for internal use only.
46
* @returns A wrapped version of the handler
47
*
48
- * @deprecated Use `wrapApiWithSentry()` instead
+ * @deprecated Use `wrapApiHandlerWithSentry()` instead
49
*/
50
export function withSentry(apiHandler: NextApiHandler, parameterizedRoute?: string): NextApiHandler {
51
return new Proxy(apiHandler, {
0 commit comments