[Proto-Scripty] Re: AJAX exception handling

2009-06-17 Thread rasmus

 No harm in 
 asking!https://prototype.lighthouseapp.com/projects/8886-prototype/overview

Thank you for the reference.

I found this interesting ticket on the subject:
https://prototype.lighthouseapp.com/projects/8886/tickets/634-no-exception-on-error-in-oncreate-method-of-ajaxrequest

Tobie Langel, one of the core members, agrees that exceptions should
be rethrown in ajax callbacks instead of dieing silently.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: AJAX exception handling

2009-06-14 Thread rasmus

Thank you for your reply.

On Jun 14, 10:22 am, T.J. Crowder t...@crowdersoftware.com wrote:

 I don't speak for the Core team, but I don't see it happening if none
 of them have jumped into this thread so far.


Yeah, you are probably right. If they feel things are optimal as they
are, I really think the core team at least should consider updating
the docs, documenting this behavior with something like:
If no onException is provided exceptions occur silently.

... and maybe even WHY it has been decided to do it like this.

It will spare a significant portion of new prototype users from being
confused about this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---