lib/songkick_queue/worker.rb in songkick_queue-0.4.0 vs lib/songkick_queue/worker.rb in songkick_queue-0.5.0
- old
+ new
@@ -101,14 +101,11 @@
def channel
client.channel
end
- # Retrieve the logger defined in the configuration
- #
- # @raise [ConfigurationError] if not defined
def logger
- config.logger || fail(ConfigurationError, 'No logger configured, see README for more details')
+ config.logger
end
def config
SongkickQueue.configuration
end