lib/rollbar_jets/turbine.rb in rollbar-jets-0.3.0 vs lib/rollbar_jets/turbine.rb in rollbar-jets-0.3.1

- old
+ new

@@ -3,9 +3,10 @@ module RollbarJets class Turbine < ::Jets::Turbine initializer 'rollbar.configure' do Rollbar.configure do |config| config.access_token = ENV["ROLLBAR_ACCESS_TOKEN"] + config.environment = ENV["JETS_ENV"] end end on_exception 'rollbar.capture' do |exception| Rollbar.error(exception) \ No newline at end of file