aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-09-08 16:37:25 +0100
committerMax Howell2009-09-10 17:21:14 +0100
commit186868b580db674c8a7a1d9de35a87dd1bf06392 (patch)
tree6a2cefb21c774127de8b23fed923d7890b994b94 /bin
parent56b3ea0529166569c4143995355ab31f3bf2721c (diff)
downloadhomebrew-186868b580db674c8a7a1d9de35a87dd1bf06392.tar.bz2
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.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index a9a372398..ba7080290 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