lib/basquiat/interfaces/base.rb in basquiat-1.3.0 vs lib/basquiat/interfaces/base.rb in basquiat-1.3.1
- old
+ new
@@ -72,10 +72,10 @@
end
# Starts the consumer loop
# @param block [Boolean] If it should block the thread. The relevance of this is dictated by the adapter.
# Defaults to true.
- def listen(block: true, rescue_proc: -> {})
+ def listen(block: true, rescue_proc: Basquiat.configuration.rescue_proc)
adapter.listen(block: block, rescue_proc: rescue_proc)
end
private