Logged error when sending email (#62)

no-issue
This commit is contained in:
Fabien O'Carroll 2019-09-15 11:48:11 +08:00 committed by GitHub
parent b834c70559
commit de0baded13

View File

@ -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.');
}