This doesn't works for errors that don't redirect there, right? So if I make an AJAX request that causes an error on the server, it wouldn't trigger the error handling function?
On Sunday, June 3, 2018 at 4:24:01 PM UTC+2, Anthony wrote: > > One option is to create a custom error handler (see > http://web2py.com/books/default/chapter/29/04/the-core#Routes-on-error) > and have it take whatever action is desired before returning a response. > > Anthony > > On Sunday, June 3, 2018 at 9:15:04 AM UTC-4, Ur. Kr. wrote: >> >> Is it possible to trigger some action when an error occurs? When an error >> file is added to the errors folder. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.