Fred, thanks for responding - I’m not sure if I can, because the exception is generated and thrown in the framework before it even gets to the controller. Where would I rescue from?
Liam
Fred, thanks for responding - I’m not sure if I can, because the exception is generated and thrown in the framework before it even gets to the controller. Where would I rescue from?
Liam
On Mon, Nov 24, 2008 at 4:30 AM, Frederick Cheung <
>> You should be able to rescue that exception (see rescue_from etc...)
> Fred
Fred, thanks for responding - I'm not sure if I can, because the exception is generated and thrown in the framework before it even gets to the controller. Where would I rescue from?
with rescue_from hopefully. Or with an around filter if that doesn't work (token verification is just another filter after all).
Fred