Consider this code:
new Ajax.Request('?service=example', {
parameters : {tags : 'exceptions'},
onSuccess : this.dataReceived.bind(this)
});
If an exception occurs anywhere in the dataReceived-function when it is called by the Ajax-object, it is swallowed by some exception handling code and the whole process then silently terminates. No exceptions are ever thrown to the browser and it is a bit tedious to debug (for understandable reasons). Is there any straightforward way to prevent this from happening?