diff --git a/src/index.js b/src/index.js index ccfb857..963d6b1 100644 --- a/src/index.js +++ b/src/index.js @@ -34,6 +34,9 @@ const PORT = Number(process.env.PORT || 4000); async function ensureDbConnected() { try { + console.log('Ellenorizzuk az adatbazis kapcsolatot...'); + console.log('HOST:', process.env.DB_HOST); + const connection = await pool.getConnection(); await connection.ping(); connection.release();