Sha256: becd1e070685b29d666ad676efd913964857cc532ca602eec3ecee2ab9484c9a
Contents?: true
Size: 283 Bytes
Versions: 25
Compression:
Stored size: 283 Bytes
Contents
require 'sidekiq' module Ezlog module Sidekiq class ErrorLogger include LogContextHelper def call(error, context) within_log_context(JobContext.from_job_hash(context[:job])) do ::Sidekiq.logger.warn error end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems