We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f3623 commit 4bb6543Copy full SHA for 4bb6543
src/lucky/server_settings.cr
@@ -40,7 +40,15 @@ module Lucky::ServerSettings
40
if File.exists?(YAML_SETTINGS_PATH)
41
File.read YAML_SETTINGS_PATH
42
else
43
- raise "Expected config file for the watcher at #{YAML_SETTINGS_PATH}"
+ <<-ERROR
44
+ Expected config file for the watcher at #{YAML_SETTINGS_PATH}.
45
+
46
+ Try this...
47
48
+ ▸ If this is Production, be sure to set LUCKY_ENV=production
49
+ ▸ If this is Development, ensure the #{YAML_SETTINGS_PATH} file exists
50
51
+ ERROR
52
end
53
54
0 commit comments