class Kubelink::Sentrylink

Public Class Methods

sentry_dsn() click to toggle source
# File lib/kubelink/sentry.rb, line 5
def self.sentry_dsn
  @dsn ||= begin
    u = URI.parse(ENV['SENTRY_DSN'])
    u.password = nil
    u.to_s
  rescue StandardError
    nil
  end
end