rowmoin / jquery-jsonp

Automatically exported from code.google.com/p/jquery-jsonp
0 stars 0 forks source link

errors in success and completeCallback callbacks are silenty discarded #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems that errors in the success and completeCallback callbacks are silently 
discarded.

The problem seems to be at line 29 (non-min) where it catches any error and 
just ignores it. I am not sure what kind of fix to suggest because I'm not 
really sure what the intent is there. The "returnFlag = !1" is kind of strange 
just by itself. In terms of behavior, the error should be allowed to propagate 
normally so it can be seen in the log and/or caught at the window level. Thx!

Original issue reported on code.google.com by d...@ubiqsoft.com on 7 Mar 2012 at 5:07

GoogleCodeExporter commented 9 years ago
I'm not sure I follow your use-case. Could you make a jsfiddle demonstrating 
your issue?

Original comment by jul...@creative-area.net on 19 Mar 2012 at 3:17

GoogleCodeExporter commented 9 years ago
Closed for now given a lack of feedback. If this needs further inspection, 
let's do it over the new github home: https://github.com/jaubourg/jquery-jsonp

Original comment by jul...@creative-area.net on 3 May 2012 at 11:31