We probably need more details. Is the code executed in a regular HTTP request or an external script? How/when are checking whether the update was successful?
On Friday, May 22, 2015 at 5:51:00 AM UTC-4, peter wrote: > > I am using sqlite 3. > > I have a ticket booking system. Transaction.status is set to 'pending' in > the database, when the transaction is initiated. > When the paypal payment completes: > > transaction.status='booked' > transaction.update_record() > > emails are then sent out. > > I have a strange example where the 'update_record' seems to have not > worked, and yet execution of the routine was not interrupted, so the emails > were still sent out, but status remains at pending. > > Is it possible for 'update_record' to not work, and yet not fail and > generate a ticket? > > If so, is there any way to know this is happening to 'handle' it? > > Thanks for any help on this. > > Peter > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

