Skip to content

Feature request: Configurable log-level for handle_failed_job #1229

@ghost

Description

Currently all errors in jobs are logged in ERROR log-level.

In our case we would like to reduce cases where an automatic retry might solve the issue without manual intervention to WARNING.

How are the chances that a PR making the level argument here configurable would be accepted?

job_say job, "FAILED (#{job.attempts} prior attempts) with #{error.class.name}: #{error.message}", 'error'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions