Project

General

Profile

Bug #8061

Need a better error message for failed uploads from the CLI

Added by David Davis over 4 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When uploading repository content, we just have a generic error message:

hammer repository upload-content --id 1 --path tmp/scratch.tar
Failed to upload file 'scratch.tar' to repository. Please check the file and try again.

It would be nice to tell the user exactly what failed. Not sure if pulp tells us the exact error though (like failing to unzip/read a file).

History

#1 Updated by Eric Helms over 4 years ago

  • Difficulty set to easy
  • Triaged changed from No to Yes

#2 Updated by Greg Swift almost 4 years ago

This really needs a higher priority if this is one of the primary ways to manually upload content

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#4 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 114

Also available in: Atom PDF