Actions
Story #5532
closedTask.error includes traceback for fatal download exceptions
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulpcore/1849":https://github.com/pulp/pulpcore/issues/1849
Task.set_failed()[0] always puts the traceback into the Task.error field. In cases of errors during downloads, this method should omit the traceback. Only the error message should be included.
This behavior should occur for any ClientResponseError[1].
[0] https://github.com/pulp/pulpcore/blob/91519235026ce3be192200a0905816175eda4b6f/pulpcore/app/models/task.py#L386
[1] https://github.com/aio-libs/aiohttp/blob/3.6/aiohttp/client_exceptions.py#L45
Updated by pulpbot about 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE
Actions