aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-09-08 16:37:25 +0100
committerMax Howell2009-09-10 17:21:14 +0100
commitedc0f7ba20cc162964758b19fe09b78e7ffac32b (patch)
tree9e47758675202bb4d0cf021125802684cb0843f3
parent5bf6cf06ff8a6ce6174962a45253dbf91294547e (diff)
downloadbrew-edc0f7ba20cc162964758b19fe09b78e7ffac32b.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.
-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