Bug 1023479
Summary: | AttributeError: 'exceptions.ValueError' object has no attribute 'msg' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | python-rhsm | Assignee: | candlepin-bugs |
Status: | CLOSED DUPLICATE | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | ckozak |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-30 18:54:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 863175 |
Description
John Sefler
2013-10-25 13:57:25 UTC
deferring to RHEL70 possible dup of bug 1008808 1d98c49e53d39398d09a40e9ea7005a687f3284b 1008808: json ValueErrors have no .msg attribute In cases where we expect a json body on an error response, we try to parse it, and catch any exceptions if it's not valid and ignore. Except we were attempting to log the ValueError.msg, which doesn't exist, raising an AttributeError. *** This bug has been marked as a duplicate of bug 1008808 *** |