Commit 3289195a302b7c4545841f12a76e1b5ea6aa90db

Authored by Stephen Crosby
1 parent bdf4aa57
Exists in master and in 1 other branch production

#918 fix problem url in slack notifications + port

app/models/notification_services/slack_service.rb
@@ -14,7 +14,7 @@ class NotificationServices::SlackService < NotificationService @@ -14,7 +14,7 @@ class NotificationServices::SlackService < NotificationService
14 end 14 end
15 15
16 def message_for_slack(problem) 16 def message_for_slack(problem)
17 - "[#{problem.app.name}][#{problem.environment}][#{problem.where}]: #{problem.error_class} #{problem_url(problem)}" 17 + "[#{problem.app.name}][#{problem.environment}][#{problem.where}]: #{problem.error_class} #{problem.url}"
18 end 18 end
19 19
20 def post_payload(problem) 20 def post_payload(problem)