The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix: add logging
David Nguyen8622e688534f
diff --git a/apps/web/src/pages/api/auth/[...nextauth].ts b/apps/web/src/pages/api/auth/[...nextauth].tsindex 5217f4f8b..04f30ef45 100644--- a/apps/web/src/pages/api/auth/[...nextauth].ts+++ b/apps/web/src/pages/api/auth/[...nextauth].ts@@ -39,7 +39,9 @@ export default async function auth(req: NextApiRequest, res: NextApiResponse) {// Create the Stripe customer and attach it to the user if it doesn't exist.if (user.customerId === null && IS_BILLING_ENABLED()) {- await getStripeCustomerByUser(user);+ await getStripeCustomerByUser(user).catch((err) => {+ console.error(err);+ });}},signOut: async ({ token }) => {