Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4f455b3

Browse files
authored
Update AppHealthService.js
1 parent 416a16e commit 4f455b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/AppHealthService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function getAppHealth() {
2121
const checkMongoDB = new Promise((resolve, reject) => {
2222
User.findOne({}, (err, data) => {
2323
if (err) {
24-
return reject(new errors.ServiceUnavailable('MongoDB instance cannot be reached'));
24+
return reject(new errors.ServiceUnavailable('MongoDB instance cannot be reached' + data));
2525
}
2626
return resolve();
2727
});

0 commit comments

Comments
 (0)