diff --git a/src/lucky/server_settings.cr b/src/lucky/server_settings.cr index a6ff85d28..1200737fd 100644 --- a/src/lucky/server_settings.cr +++ b/src/lucky/server_settings.cr @@ -40,7 +40,15 @@ module Lucky::ServerSettings if File.exists?(YAML_SETTINGS_PATH) File.read YAML_SETTINGS_PATH else - raise "Expected config file for the watcher at #{YAML_SETTINGS_PATH}" + <<-ERROR + Expected config file for the watcher at #{YAML_SETTINGS_PATH}. + + Try this... + + ▸ If this is Production, be sure to set LUCKY_ENV=production + ▸ If this is Development, ensure the #{YAML_SETTINGS_PATH} file exists + + ERROR end end end