Red Hat Bugzilla – Bug 768246
RFE: Maven client should display readable error messages
Last modified: 2015-07-28 23:35:13 EDT
Seam/RESTEasy seems to generate some error responses in the form of HTML error pages. These are virtually unreadable when printed to the console as a single line.
1. We should look at overriding this behaviour on the server, so that our REST services return plain text, XML or JSON when handling exceptions.
2. In addition, the Maven client could look at the response type for its REST requests. If they come back with an HTML content type, we should strip out the HTML tags and try to produce more readable error messages in Maven's log output.
This sounds helpful. Have we seen any recent/critical user requests coming in for this feature?
No users have specifically requested it, but I've seen a number of bug reports with these HTML error messages in them. And sometimes there isn't even a bug: once you decipher the error message it becomes apparent.
Reassigned to PM
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-334