diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 2173a52d004ad2361354286f9912fbc1e1578813..ad8c02aabeab294b4d23090ab0b8f6638acdd7d6 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -152,7 +152,7 @@ module Hbc onoe msg exit 1 rescue StandardError, ScriptError, NoMemoryError => e - msg = e.message + msg = "#{e.message}\n" msg << Utils.error_message_with_suggestions msg << e.backtrace.join("\n") onoe msg diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index ef4afa05bf24b9f37ce42b5bab7276924958c14e..36679aa3913760384a8185497d610a00a9e39355 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -145,8 +145,7 @@ module Hbc def self.error_message_with_suggestions <<-EOS.undent - - Try following the instuctions here: + Try following the instuctions here: #{Formatter.url(PREBUG_URL)} If this doesn鈥檛 fix the problem, please report this bug: