Sha256: 3863ca00b8f3f15d7bef3f582981fdf4c872fe0150ef6aafb739cb8017a18f7d
Contents?: true
Size: 506 Bytes
Versions: 15
Compression:
Stored size: 506 Bytes
Contents
module Raygun class ItWorksException < StandardError; end module Testable def track_test_exception Raygun.configuration.silence_reporting = false raise ItWorksException.new("Woohoo! Your Raygun<->Ruby connection is set up correctly") rescue ItWorksException => e if Raygun.track_exception(e).success? puts "Success! Now go check your Raygun.io Dashboard" else puts "Oh-oh, something went wrong - double check your API key" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems