#1077: trapping exceptions raised inside SA's run_with_transaction
-------------------------------------------+--------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: closed
Priority: high | Milestone: 1.0
Component: TurboGears | Version:
Severity: critical | Resolution: fixed
Keywords: sqlalchemy exception trapping |
-------------------------------------------+--------------------------------
Comment (by alberto):
Oops, forget that last {{{tg_source(*args, **kw)}}} line. It'll probably
end in an infinite loop as the method keeps causing IntegrityErrors :).
Should probably display a nice error page and/or let the user resubmit the
form.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1077>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---