Skip to content

Commit a6eb861

Browse files
authored
Merge pull request #302 from gmoore/encryption-key-error-message
Add context to error message if encryption key is missing
2 parents 402ff40 + 33498b5 commit a6eb861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/encryption.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def self.decrypt_sensitive_value(val = "")
2222

2323
# Should be able to just re-use the same key we already have!
2424
def self.key
25-
raise "Key Missing" if !(KEY)
25+
raise "Key Missing. Add one in initializers/key.rb" if !(KEY)
2626
KEY
2727
end
2828

0 commit comments

Comments
 (0)