Skip to content

Commit 03c6194

Browse files
authored
Merge pull request #91 from icefoganalytics/test
More debugging codes
2 parents f0060f3 + 9d0ec5c commit 03c6194

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/routes/admin/application-letter-router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ applicationLetterRouter.get(
4040
statusCode: 404,
4141
status: "Not Found",
4242
message: `Could not find application letter with id "${applicationId}" and funding request "${fundingRequestId}".`,
43-
error
43+
error: error.message,
44+
t: error.stack
4445
})
4546
} else {
4647
res.status(422).send({

0 commit comments

Comments
 (0)