Skip to content

Commit 5d1ad31

Browse files
committed
re-await handler
1 parent 9acd235 commit 5d1ad31

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
@@ -102,7 +102,7 @@ export const withSentry = (origHandler: NextApiHandler): WrappedNextApiHandler =
102102
}
103103
});
104104

105-
return boundHandler();
105+
return await boundHandler();
106106
};
107107
};
108108

0 commit comments

Comments
 (0)