﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36951	"log_task_finished signal logs ""NoneType: None"" when no exception is raised"	Jacob Walls	Elias Hernandis	"The test provided on #20722 demonstrates that faux exceptions are logged as `NoneType: None` by the `log_task_finished` signal:

{{{#!py
======================================================================
FAIL: test_successful_task_no_none_type_in_logs (tasks.test_immediate_backend.ImmediateBackendTestCase.test_successful_task_no_none_type_in_logs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/Users/jwalls/django/tests/tasks/test_immediate_backend.py"", line 238, in test_successful_task_no_none_type_in_logs
    self.assertNotIn(""NoneType"", log_output)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'NoneType' unexpectedly found in 'INFO:django.tasks:Task id=1yKnLbcmTGMEUfj0B1JG0766LDM1Sono path=tasks.tasks.noop_task state=SUCCESSFUL\nNoneType: None'

----------------------------------------------------------------------
}}}"	Bug	assigned	Tasks	6.0	Release blocker			Jake Howard	Unreviewed	0	0	0	0	0	0
