diff options
| author | Max Howell | 2009-09-08 16:37:25 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-10 17:21:14 +0100 |
| commit | edc0f7ba20cc162964758b19fe09b78e7ffac32b (patch) | |
| tree | 9e47758675202bb4d0cf021125802684cb0843f3 | |
| parent | 5bf6cf06ff8a6ce6174962a45253dbf91294547e (diff) | |
| download | brew-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-x | bin/brew | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
