module Travis
  class Logs
    class  Handler
      class Log < Handler
        def handle
          info "handling log update for job #{data['id']}"
          breakz!
          ::Job::Test.append_log!(data['id'], data['log'])
        end
        instrument :handle
        new_relic :handle

        def data
          payload['data']
        end

        # Travis::Logs::Instrument::Handler::Log.attach_to(self)
      end
    end
  end
end

module Travis
  class Logs
    class  Handler
      class Log < Handler
        def handle
          info "handling log update for job #{data['id']}"
          ::Job::Test.append_log!(data['id'], data['log'])
        end
        instrument :handle
        new_relic :handle

        def data
          payload['data']
        end

        # Travis::Logs::Instrument::Handler::Log.attach_to(self)
      end
    end
  end
end

Revert "confirm that the exception notifier works"
Revert "confirm that the exception notifier works"

This reverts commit a5cee62674d9eac834bc7304215f17fd1790485b.
