- Created Test Environment un Server test.freeplanet.app

- mongodb open 2 connections port (3000 and 3001) - 27017 and 27018
This commit is contained in:
Paolo Arena
2019-02-13 01:51:33 +01:00
parent ea06079878
commit df31a9ea9b
5 changed files with 19 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ router.post('/login', (req, res) => {
if (err) {
console.error(`Error occurred while saving subscription. Err: ${err}`);
res.status(500).json({
error: 'Technical error occurred'
error: 'Technical error occurred:' + err
});
} else {
// Send 201 - resource created