I thinks second requirement is there, but XMLHttpRequest is not. Otherwise, it would always fail.
Regards, Saša Stamenković On Wed, Mar 24, 2010 at 6:15 PM, Jurian Sluiman <subscr...@juriansluiman.nl>wrote: > On Tuesday 23 Mar 2010 20:15:03 Саша Стаменковић wrote: > > Interesting. Is there a way to solve it on one place. What is enough for > me > > is to prevent logging errors in error controller. > > So custom exception thrown from controller plugin is fine...if ajax > action > > is called without ajax. > > > > Regards, > > Saša Stamenković > > Solving the problem in one place means you need to extend the ajaxContext > action helper to check for specific non-Ajax requests. > -- > Jurian Sluiman > CTO Soflomo V.O.F. > http://soflomo.com >