lib/secret_env.rb in secret_env-0.3.1 vs lib/secret_env.rb in secret_env-0.3.2
- old
+ new
@@ -48,10 +48,10 @@
@dependency[secret_key].value
else
@storage.retrieve(secret_key)
end
- raise SecretEnv::KeyNotFound unless secret
+ raise SecretEnv::KeyNotFound, secret_key unless secret
parts << part.gsub(scanner.matched, secret)
end
parts << scanner.rest
parts.join
end