Sha256: 5a59067acc73b0fff527a3a5ec407ba475f608c342c7300cacff99ab77be0aaf
Contents?: true
Size: 390 Bytes
Versions: 37
Compression:
Stored size: 390 Bytes
Contents
require "bugsnag" namespace :bugsnag do desc "Send a test exception to Bugsnag." task :test_exception => :load do begin raise RuntimeError.new("Bugsnag test exception") rescue => e Bugsnag.notify(e) do |report| report.context = "rake#test_exception" end end end end task :load do begin Rake::Task["environment"].invoke rescue end end
Version data entries
37 entries across 37 versions & 1 rubygems