lib/rapnd/daemon.rb in rapnd-0.2.3 vs lib/rapnd/daemon.rb in rapnd-0.2.4

- old
+ new

@@ -59,9 +59,10 @@ rescue Exception => e if e.class == Interrupt || e.class == SystemExit @logger.info "Shutting down..." exit(0) end + self.connect! Airbrake.notify(e, {:environment_name => self.queue }) if @airbrake @logger.error "Encountered error: #{e}" end end end \ No newline at end of file