lib/rails-cloud-tasks.rb in rails-cloud-tasks-0.0.4 vs lib/rails-cloud-tasks.rb in rails-cloud-tasks-0.0.5

- old
+ new

@@ -47,10 +47,10 @@ @@queue_adapter end def self.queue_adapter @queue_adapter ||= Adapter.new - rescue Errno::EHOSTDOWN => e + rescue StandardError => e raise e unless Rails.env.development? logger.warn('unable to setup adapter, falling back to :inline') logger.warn(e)