Commit 470858863950f04b18c4b7089c4d19b61883dfd0

Authored by Stephen Crosby
2 parents 740b7309 3289195a
Exists in master and in 1 other branch production

Merge pull request #919 from stevecrozz/918_problem_url_port_in_slack_notifications

#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)