From c6054ddb50dda86e20e1cb296629c6a2f9f94868 Mon Sep 17 00:00:00 2001 From: Adam Rodrigues Date: Thu, 28 Mar 2024 10:44:22 -0400 Subject: [PATCH] log info --- lib/que/job_methods.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/que/job_methods.rb b/lib/que/job_methods.rb index 38ab7959..892b9ce4 100644 --- a/lib/que/job_methods.rb +++ b/lib/que/job_methods.rb @@ -72,8 +72,8 @@ def _run(args: nil, kwargs: nil, reraise_errors: false) default_resolve_action if que_target && !que_target.que_resolved rescue => error Que.log( - level: log_level(error), - event: :job_errored, + level: :info, + event: :special_job_errored, job_id: que_target.que_attrs[:id], error: "#{error.class}: #{error.message}".slice(0, 500), )