1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Make the ENV['HOME'] error message a little more definitive

This commit is contained in:
James Cox 2017-11-07 09:14:06 -05:00
parent 16054c81d1
commit b95767e16b

View file

@ -161,7 +161,7 @@ module AwesomePrint
load_dotfile load_dotfile
merge_options!(AwesomePrint.defaults) if AwesomePrint.defaults.is_a?(Hash) merge_options!(AwesomePrint.defaults) if AwesomePrint.defaults.is_a?(Hash)
rescue => e rescue => e
$stderr.puts "Could not load '~/.aprc': #{e}" $stderr.puts "Could not load '.aprc' from ENV['HOME']: #{e}"
end end
end end
end end