# File src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/controllers.rb, line 75
    def log_controller_action_block(options = {})
      if null?
        do_nothing_on_null(:log_controller_action_block)
        yield
      else
        build_full_controller_action_string(options)
        has_error = true
        begin_time = UnionStationHooks.now
        begin
          result = yield
          has_error = false
          result
        ensure
          log_controller_action(
            options.merge(
              :begin_time => begin_time,
              :end_time => UnionStationHooks.now,
              :has_error => has_error
            )
          )
        end
      end
    end