Stop Meteor if Settings Missing

Is there any command for me to tell Meteor to exit the app if the settings file is missing certain configurations?

Meaning, my app requires Google, so I’d like to do

if (! Meteor.settings.Google) {
  // exit Meteor

Here’s a messy approach that won’t completely exit the app, but will make it unresponsive (essentially simulating a crash):

if (!Meteor.settings.Google) {
1 Like