Before you describe your issue, idea or feature, please consider using this issue template.
options is not defined when trying to connect with alternate mlab url
Type of issue:
Short description on the issue
When starting the server using npm start then the server trying to connect with localy hosted db and if error occures then trying to connect with mlab which is alternative option for db.
So there in error case options variable provided in the mongoose.connect is undefined.
Possible fix
Change options to option.