Skip to content

Return result objects from tasks to get better visibility #37

@batpad

Description

@batpad

If we return an object with some data from the tasks, we can then see TaskResults in the admin for some users. We should do that to improve visibility of tasks and make it easier to debug.

For now, my thoughts:

We should return the result for errors and success with appropriate messages and status. This will then automatically populate the TaskResult model and allow us to see executed tasks and errors, if any, in a slightly nicer manner than having to go through server logs.

@willemarcel does this sound fine to you?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions