﻿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
37408	ValueError shadows import errors	Johannes Maron		"Regression from #36919

When a user renames or moves a task, deconstruction fails with an ambiguous ValueError shadowing the `ImportError`.

https://github.com/django/django/blob/cf564bf3a7e0d92bc32292ccff1eca5aeb24b1ef/django/tasks/base.py#L64-L66
shadows ImportError.

Currently you'd need to access __causes__ to figure out that the `ValueError` was actually because the tasks can't be found.

It would be more suitable to fail with a custom error, which backends catch and handle more gracefully."	Cleanup/optimization	new	Tasks	6.1	Normal			Johannes Maron	Unreviewed	0	0	0	0	1	0
