[ 
https://issues.apache.org/jira/browse/THRIFT-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-4174.
--------------------------------
    Resolution: Not A Bug

Not a bug, just plain stupidity on my side. Exceptions are of course to be 
caught by means of the jQuery ajax event handlers:

{code}
$(document).bind("ajaxError", function( event, request, settings, err) {
    alert(err.ErrorMsg);
});
{code}


> js:jquery option broken?
> ------------------------
>
>                 Key: THRIFT-4174
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4174
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>
> The {{js:jquery}} option produces code that does not work inj async mode. The 
> code works fine in synchronous mode, but not when called with a callback, 
> where any exceptions thrown seem not to be delivered correctly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to