summaryrefslogtreecommitdiff
path: root/lib/yaml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yaml.rb')
-rw-r--r--lib/yaml.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/yaml.rb b/lib/yaml.rb
index 0c33305e1d..aa0a1eb470 100644
--- a/lib/yaml.rb
+++ b/lib/yaml.rb
@@ -5,9 +5,9 @@
begin
require 'psych'
rescue LoadError
- warn "#{caller[0]}:"
- warn "It seems your ruby installation is missing psych (for YAML output)."
- warn "To eliminate this warning, please install libyaml and reinstall your ruby."
+ warn "It seems your ruby installation is missing psych (for YAML output).\n" \
+ "To eliminate this warning, please install libyaml and reinstall your ruby.\n",
+ uplevel: 1
raise
end