- Created Test Environment un Server test.freeplanet.app
- mongodb open 2 connections port (3000 and 3001) - 27017 and 27018
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user