Skip to content

Commit 54db08b

Browse files
committed
re-await handler
1 parent 7a58c8c commit 54db08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/utils/withSentry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const withSentry = (origHandler: NextApiHandler): WrappedNextApiHandler =
101101
}
102102
});
103103

104-
return boundHandler();
104+
return await boundHandler();
105105
};
106106
};
107107

0 commit comments

Comments
 (0)