mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Change slack message to point to LogDNA instead of paper trail.
This commit is contained in:
parent
8d4d617069
commit
72d44ca5fb
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module.exports.sendSlackMessage = (message, rooms=['tower'], options={}) ->
|
|||
unfurl_media: false
|
||||
if options.papertrail
|
||||
secondsFromEpoch = Math.floor(new Date().getTime() / 1000)
|
||||
link = "https://papertrailapp.com/groups/488214/events?time=#{secondsFromEpoch}"
|
||||
link = "https://app.logdna.com/logs/view?t=timestamp:#{secondsFromEpoch}"
|
||||
form.text += " #{link}"
|
||||
# https://api.slack.com/docs/formatting
|
||||
form.text = form.text.replace('&', '&').replace('<', '<').replace('>', '>')
|
||||
|
|
Loading…
Reference in a new issue