We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59caf46 commit cb87222Copy full SHA for cb87222
api/src/functions/contact-form.ts
@@ -1,7 +1,8 @@
1
import nodemailer from 'nodemailer';
2
+import * as log from 'loglevel';
3
+import { delay } from '@httptoolkit/util';
4
5
import { catchErrors, reportError } from '../errors';
-import { delay } from '@httptoolkit/util';
6
import { getCorsResponseHeaders } from '../cors';
7
8
const {
@@ -94,6 +95,8 @@ export const handler = catchErrors(async (event) => {
94
95
}</body></html>`
96
});
97
98
+ log.info('Sent contract form email from ' + email);
99
+
100
return {
101
statusCode: 302,
102
headers: {
0 commit comments