Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

feat: Log task run errors at ERROR level #15

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion task_processor/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _run_task(task: typing.Union[Task, RecurringTask]) -> typing.Tuple[Task, Tas
task_run.finished_at = timezone.now()
task.mark_success()
except Exception as e:
logger.warning(
logger.error(
"Failed to execute task '%s'. Exception was: %s",
task.task_identifier,
str(e),
Expand Down
Loading