From 42bdc940b96dd2942898e8a3ab5e92b244b2de66 Mon Sep 17 00:00:00 2001 From: frank basham Date: Wed, 22 Nov 2023 19:09:59 -0500 Subject: [PATCH] logging --- pages/api/submit-feedback.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/submit-feedback.js b/pages/api/submit-feedback.js index 4fec1e097c..e32ba90b29 100644 --- a/pages/api/submit-feedback.js +++ b/pages/api/submit-feedback.js @@ -2,7 +2,7 @@ import { postFeedbackToGcNotify } from "../../lib/notify/postFeedbackToGcNotify" export default async function handler(req, res) { const data = req.body; - console.log(process.env) + console.log(process.env); if (!data["what-was-wrong"]) { res.status(400).json({ message: "required field missing" }); } else { @@ -14,7 +14,7 @@ export default async function handler(req, res) { throw new Error("bad request"); } } catch (e) { - console.error("Failed to post to GC Notify", e); + console.error("Failed to post to GC Notify"); res.status(500).json({ message: "something went wrong" }); } }