From 4c1efc2f6d60952fd81f61475e0d3d0dcf4dd5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 27 Jun 2024 11:36:16 +0100 Subject: [PATCH] fix: Another take at this... [skip pizza] --- api.planx.uk/modules/admin/session/digitalPlanningData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.planx.uk/modules/admin/session/digitalPlanningData.ts b/api.planx.uk/modules/admin/session/digitalPlanningData.ts index 5ad773a9fa..1089e1aef4 100644 --- a/api.planx.uk/modules/admin/session/digitalPlanningData.ts +++ b/api.planx.uk/modules/admin/session/digitalPlanningData.ts @@ -40,7 +40,7 @@ export const getDigitalPlanningApplicationPayload = async ( return res.send(data); } catch (error) { return next({ - message: `Failed to make Digital Planning Application payload: ${error}`, + message: `Failed to make Digital Planning Application payload: ${error}. Stack: ${(error as Error).stack}`, }); } };