improved error loggin and updated imports to fix build failure
This commit is contained in:
@@ -62,7 +62,7 @@ const prisma = new PrismaClient();
|
||||
// // emailReplyToId: emailReplyToId,
|
||||
// })
|
||||
// //.then((response) => console.log(response))
|
||||
// .catch((err) => consoleLogger(err));
|
||||
// .catch((error) => consoleLogger(err));
|
||||
// },
|
||||
// }),
|
||||
// ],
|
||||
@@ -201,7 +201,7 @@ const authOptions = (locale, req, res) => {
|
||||
}
|
||||
)
|
||||
//.then((response) => console.log(response))
|
||||
.catch((err) => consoleLogger(err));
|
||||
.catch((error) => consoleLogger(err));
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user