JavaScript execution exception is not logged
--------------------------------------------
Key: TAP5-1873
URL: https://issues.apache.org/jira/browse/TAP5-1873
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.3
Reporter: Denis Stepanov
If there is an error durring the ajax javascript execution, exception is not
logged, that is a critical issue when you are developing and tracking errors.
Tapestry.js ajaxRequest @453:
finalOptions.get('onException').call(this, response);
Should be:
finalOptions.get('onException').call(this, response, e);
Exception's stacktrace should be also logged otherwise there is no way to tell
were did it came from.
Tapestry.js ajaxExceptionHandler @371:
Tapestry.debug(Tapestry.Messages.ajaxFailure + exception, response);
if(exception.stack) {
Tapestry.debug(exception.stack);
}
--
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