Project

Profile

Help

Story #5532

closed

Task.error includes traceback for fatal download exceptions

Added by dkliban@redhat.com over 4 years ago. Updated about 2 years ago.

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

Actions #1

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF