Method: Sentry::ReleaseDetector.detect_release_from_heroku

Defined in:
lib/sentry/release_detector.rb

.detect_release_from_heroku(running_on_heroku) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
17
# File 'lib/sentry/release_detector.rb', line 14

def detect_release_from_heroku(running_on_heroku)
  return unless running_on_heroku
  ENV["HEROKU_SLUG_COMMIT"]
end