lib/telegram/bot/updates_controller/rescue.rb in telegram-bot-0.16.1 vs lib/telegram/bot/updates_controller/rescue.rb in telegram-bot-0.16.3

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'active_support/rescuable' module Telegram module Bot class UpdatesController @@ -9,10 +11,10 @@ private def process_action(*) super - rescue Exception => exception # rubocop:disable RescueException + rescue Exception => exception # rubocop:disable Lint/RescueException rescue_with_handler(exception) || raise end end end end