Fatal exceptions from tasks not being reported by tasks API
The Task model has an error field. It is a JSON field. After a task succeeds or fails, this field is supposed to contain a dictionary representing any fatal exception encountered during the task. If no fatal exception is encountered the field should be set to None. This happens here in the code, but the API for tasks does not report an 'error' field.
Problem: tasks API ommits error field in response
Solution: update the serializer for Task model by renaming 'result' field to 'error'
#1 Updated by firstname.lastname@example.org over 3 years ago
- Tracker changed from Story to Issue
- Subject changed from Record fatal exceptions from tasks in 'error' field of Task object to Fatal exceptions from tasks not being reported by tasks API
- Description updated (diff)
- Severity set to 2. Medium
- Triaged set to No
Please register to edit this issue