Skip to content
Snippets Groups Projects
Unverified Commit 87d0536e authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

chore: improve mongo deprecation message (#33907)

parent 7681133a
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ Meteor.startup(async () => { ...@@ -79,7 +79,7 @@ Meteor.startup(async () => {
} }
if (semver.satisfies(semver.coerce(mongoVersion), '<5.0.0')) { if (semver.satisfies(semver.coerce(mongoVersion), '<5.0.0')) {
msg += ['', '', 'YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED,', 'PLEASE UPGRADE TO VERSION 5.0 OR LATER'].join('\n'); msg += ['', '', 'YOUR CURRENT MONGODB VERSION IS NOT SUPPORTED BY ROCKET.CHAT,', 'PLEASE UPGRADE TO VERSION 5.0 OR LATER'].join('\n');
showErrorBox('SERVER ERROR', msg); showErrorBox('SERVER ERROR', msg);
exitIfNotBypassed(process.env.BYPASS_MONGO_VALIDATION); exitIfNotBypassed(process.env.BYPASS_MONGO_VALIDATION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment