lib/dispatch-rider/configuration.rb in dispatch-rider-1.6.0 vs lib/dispatch-rider/configuration.rb in dispatch-rider-1.6.1
- old
+ new
@@ -12,10 +12,10 @@
@subscriber = DispatchRider::Subscriber
@log_formatter = DispatchRider::Logging::TextFormatter.new
@logger = Logger.new(STDERR)
@debug = false
- @callbacks.around(:handle_message) do |job, message|
+ @callbacks.around(:dispatch_message) do |job, message|
Logging::LifecycleLogger.wrap_handling(message) do
job.call
end
end
end