Lots of updates! Working in local dev... not sure about staging yet...

This commit is contained in:
2023-05-10 09:15:49 -04:00
parent 0e02c8ab15
commit 07cca921bf
9 changed files with 50 additions and 34 deletions

View File

@@ -5,7 +5,7 @@ import { PORT } from '../constants/env';
connection.then(
() => {
app.listen(PORT);
console.log('LISTENING', process.env);
console.debug('Server up and listening', { env: process.env });
},
(err) => console.error('SERVER ERROR!', { err, env: process.env }),
(err) => console.error('Could not reach database', { err, env: process.env }),
);