Skip to content

Commit

Permalink
log info
Browse files Browse the repository at this point in the history
  • Loading branch information
hs-arodrigues committed Mar 28, 2024
1 parent b797ec3 commit c6054dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/que/job_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
Expand Down

0 comments on commit c6054dd

Please sign in to comment.