[katello-devel] Error Responses And Subscription Manager
Devan Goodwin
dgoodwin at rm-rf.ca
Wed Jul 6 14:56:51 UTC 2011
While working on Katello environment registration we hit an issue
where subscription-manager expects the response to contain json when
something goes wrong, something like this:
{
"displayMessage" : "Invalid Credentials"
}%
Katello however is just returning text in the body like this:
"Organization ACME_Corporation has 'locker' environment only. Please
create an environment for system registration."
Can we standardize on this "displayMessage" packed in JSON format?
Alternatively I could try just display the response body if we get an
error and cannot parse JSON from it.
Thoughts?
Thanks,
Devan
More information about the katello-devel
mailing list