提交 ad141538 编写于 作者: M Matthew Draper

Avoid including DB details in exception messages

The keys are quite sufficient; we shouldn't be throwing passwords
around.
上级 88e60a48
......@@ -227,7 +227,7 @@ def resolve_symbol_connection(spec)
if config = configurations[spec.to_s]
resolve_connection(config)
else
raise(AdapterNotSpecified, "'#{spec}' database is not configured. Available configuration: #{configurations.inspect}")
raise(AdapterNotSpecified, "'#{spec}' database is not configured. Available: #{configurations.keys.inspect}")
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册