Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1405480 - [RFE] Report error codes for each error
Summary: [RFE] Report error codes for each error
Status: NEW
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
Depends On:
Blocks: 1367672
TreeView+ depends on / blocked
Reported: 2016-12-16 15:38 UTC by Kevin Howell
Modified: 2016-12-16 15:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Kevin Howell 2016-12-16 15:38:37 UTC
Description of problem:
It is really difficult to special case error handling in subscription-manager, because errors aren't easily distinguishable. There are some options here (ex. response header, unique String as part of existing error String).

How reproducible: always

Steps to Reproduce:
1. Generate an error in candlepin with default locale
2. Change locale and generate same error

Actual results:
Depending on the locale, the only thing the two errors might share is an identifer.

Expected results:
It would be nice to have some way of identifying the error (ex. CP0000042) or since that would require extra maintenance burden, maybe a error UUID in a header?

Note You need to log in before you can comment on or make changes to this bug.