Merge pull request #11 from burke/master

Send hostname with Error(), not just Notify()
diff --git a/airbrake.go b/airbrake.go
index 0128391..7019d6c 100644
--- a/airbrake.go
+++ b/airbrake.go
@@ -139,6 +139,11 @@
 		params["Pwd"] = pwd
 	}
 
+	hostname, err := os.Hostname()
+	if err == nil {
+		params["Hostname"] = hostname
+	}
+
 	params["Backtrace"] = stacktrace(3)
 
 	post(params)
@@ -166,13 +171,11 @@
 	}
 
 	pwd, err := os.Getwd()
-
 	if err == nil {
 		params["Pwd"] = pwd
 	}
 
 	hostname, err := os.Hostname()
-
 	if err == nil {
 		params["Hostname"] = hostname
 	}