diff --git a/packages/core/database/src/database.ts b/packages/core/database/src/database.ts index 7440c2c16..cb18366a5 100644 --- a/packages/core/database/src/database.ts +++ b/packages/core/database/src/database.ts @@ -708,6 +708,7 @@ export class Database extends EventEmitter implements AsyncEmitter { console.log('Connection has been established successfully.'); return true; } catch (error) { + console.log(`Unable to connect to the database: ${error.message}`); if (count >= (retry as number)) { throw new Error('Connection failed, please check your database connection credentials and try again.'); }