class Airbrake::Filters::ThreadFilter
def call(notice)
def call(notice) th = Thread.current thread_info = {} if (vars = thread_variables(th)).any? thread_info[:thread_variables] = vars end if (vars = fiber_variables(th)).any? thread_info[:fiber_variables] = vars end if (name = th.name) thread_info[:name] = name end add_thread_info(th, thread_info) notice[:params][:thread] = thread_info end