You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: error_handler.rb
    path of file: ./repos/classroom/lib/sidekiq/failbot
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Sidekiq
  module Failbot
    class ErrorHandler
      class << self
        # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
        def report(exception, context_hash)
          failbot_context =
    
        def report(exception, context_hash)
          failbot_context = {}.tap do |ctx|
            job = context_hash[:job]

            ctx[:queue] = job["queue"]
            ctx[:retry] = job["retry"]
            ctx[:jid]   = job["jid"]

            ctx[:created_at]  = Time.at(job["created_at"]).utc
            ctx[:enqueued_at] = Time.at(job["enqueued_at"]).utc
            ctx[:failed_at]   = Time.at(job["enqueued_at"]).utc

            if (retried_at = job["retried_at"])
              ctx[:retried_at] = Time.at(retried_at).utc
            end

            if (args = job["args"].first)
              ctx["job_id"] = args["job_id"]
              ctx["arguments"] = args["arguments"]
            end