Project

General

Profile

Actions

Bug #8061

closed

Need a better error message for failed uploads from the CLI

Added by David Davis over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
-
Difficulty:
easy
Triaged:
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).

Actions

Also available in: Atom PDF