ic-post-errors-to
- The Post-Errors-To AttributeThe ic-post-errors-to
attribute tells Intercooler to post all errors that occur during requests
and content swapping to a given URL, typically for server side logging.
This attribute is typically specified on the body
tag of your web application.
The value of the attribute should be a valid URL (e.g. "/errors"
).
ic-post-errors-to
has no dependency implications.
Here is a simple example usage. All errors that occur within the body will be posted to the /errors
url
<body ic-post-errors-to="/errors"> ... </body>