chore(job): log request_id enqueueing a job
This commit is contained in:
parent
3a4e8b2a32
commit
bb3e53a6fe
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class ActiveJob::ApplicationLogSubscriber < ::ActiveJob::LogSubscriber
|
|||
def process_event(event, type)
|
||||
data = extract_metadata(event)
|
||||
data.merge!(extract_exception(event))
|
||||
data[:request_id] = Current.request_id if Current.request_id.present?
|
||||
|
||||
case type
|
||||
when 'enqueue_at'
|
||||
|
|
Loading…
Reference in a new issue