Commit 5052d98b49258896cba3fc744557f59c7944a8b6
Exists in
master
and in
1 other branch
Merge pull request #390 from luxflux/even-better-hubot-notifications
More hubot notification tuning
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/notification_services/hubot_service.rb
... | ... | @@ -22,7 +22,7 @@ class NotificationServices::HubotService < NotificationService |
22 | 22 | end |
23 | 23 | |
24 | 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 | 26 | end |
27 | 27 | |
28 | 28 | def create_notification(problem) | ... | ... |