lib/telegram/bot/updates_controller/instrumentation.rb in telegram-bot-0.15.0 vs lib/telegram/bot/updates_controller/instrumentation.rb in telegram-bot-0.15.1

- old
+ new

@@ -47,10 +47,10 @@ end private # A hook invoked every time a before callback is halted. - def halted_callback_hook(filter) + def halted_callback_hook(filter, *) Instrumentation.instrument(:halted_callback, filter: filter) end # A hook which allows you to clean up any time taken into account in # views wrongly, like database querying time.