From edc0f7ba20cc162964758b19fe09b78e7ffac32b Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 8 Sep 2009 16:37:25 +0100 Subject: [PATCH] Include OS X version with fatal error details So when people do what it says and list the info we know in advance their OS version. --- bin/brew | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index a9a372398b..ba70802903 100755 --- a/bin/brew +++ b/bin/brew @@ -233,7 +233,9 @@ rescue SystemCallError, RuntimeError => e rescue Exception => e onoe "Homebrew has failed you :(" puts "Please report this bug at: #{HOMEBREW_WWW}" - puts "Please include this backtrace:" + puts "Please include the following information:" + ohai "Environment" + puts "Mac OS X: "+`sw_vers -productVersion` ohai e.inspect puts e.backtrace end