summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xworker/worker4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/worker b/worker/worker
index b8d7508..655c7ab 100755
--- a/worker/worker
+++ b/worker/worker
@@ -69,7 +69,7 @@ class Alert
alert = Mauve::Proto::Alert.new
alert.id = @details['test_type']
alert.summary = "#{@details['test_host']} #{@details['test_alert']}"
- alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}"
+ alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}: #{detail}"
alert.raise_time = Time.now.to_i
update.alert << alert
@@ -92,7 +92,7 @@ class Alert
alert = Mauve::Proto::Alert.new
alert.id = @details['test_type']
alert.summary = "#{@details['test_host']} #{@details['test_alert']}"
- alert.detail = "The #{@details['test_type']} test failed against #{@details['test_host']}"
+ alert.detail = "The #{@details['test_type']} test succeeded against #{@details['test_host']}"
alert.clear_time = Time.now.to_i
update.alert << alert