Common Container should log detailed error messages when a gadget fails to
navigate or preload
----------------------------------------------------------------------------------------------
Key: SHINDIG-1749
URL: https://issues.apache.org/jira/browse/SHINDIG-1749
Project: Shindig
Issue Type: Improvement
Components: Javascript
Affects Versions: 2.5.0
Reporter: Stanton Sievers
Assignee: Stanton Sievers
Fix For: 2.5.0
If in the process of preloading or navigating a gadget something fails, the
common container will log warnings, "Failed to preload gadget <gadget url>."
and "Failed to navigate for gadget <gadget url>.", respectively. However, it
only logs these errors upon the existence of the "error" object in the
response. It does not log any of the information contained within the "error"
object.
The proposed improvement would be to log the detailed information in the
"error" object. This includes both the HTTP status code and a detailed
message. This information is more usable when trying to determine the root
cause of the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira