Commit 5052d98b49258896cba3fc744557f59c7944a8b6

Authored by Shuky Dvir
2 parents d3947e2a 4db9b7a3
Exists in master and in 1 other branch production

Merge pull request #390 from luxflux/even-better-hubot-notifications

More hubot notification tuning
app/models/notification_services/hubot_service.rb
@@ -22,7 +22,7 @@ class NotificationServices::HubotService < NotificationService @@ -22,7 +22,7 @@ class NotificationServices::HubotService < NotificationService
22 end 22 end
23 23
24 def message_for_hubot(problem) 24 def message_for_hubot(problem)
25 - "#{notification_description(problem)} #{problem_url(problem)}" 25 + "[#{problem.app.name}][#{problem.environment}][#{problem.where}]: #{problem.error_class} #{problem_url(problem)}"
26 end 26 end
27 27
28 def create_notification(problem) 28 def create_notification(problem)