From de0baded13d61420dfd5be32a94601f9b59f34ba Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Sun, 15 Sep 2019 11:48:11 +0800 Subject: [PATCH] Logged error when sending email (#62) no-issue --- ghost/members-api/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/members-api/index.js b/ghost/members-api/index.js index 9b688ab88b..17169b3c93 100644 --- a/ghost/members-api/index.js +++ b/ghost/members-api/index.js @@ -96,6 +96,7 @@ module.exports = function MembersApi({ res.writeHead(201); return res.end('Created.'); } catch (err) { + common.logging.error(err); res.writeHead(500); return res.end('Internal Server Error.'); }