Add context to error message if encryption key is missing

I was deploying a fresh install to Heroku and this tripped me up for 15 minutes.
This commit is contained in:
Gary Moore
2018-02-09 12:32:37 -05:00
parent 402ff40a5a
commit 33498b5938
+1 -1
View File
@@ -22,7 +22,7 @@ module Encryption
# Should be able to just re-use the same key we already have!
def self.key
raise "Key Missing" if !(KEY)
raise "Key Missing. Add one in initializers/key.rb" if !(KEY)
KEY
end