Have you investigated pyramid_tm combined with zope.sqlalchemy's ZopeTransactionExtension for use with a SQLAlchemy session and eliminated it as an option? That's by far the most common approach. If you use a tween, then you will need to put it "under" the EXCVIEW.
On Thu, Jan 16, 2014 at 10:01 AM, wilk <[email protected]> wrote: > On 16-01-2014, Michael Merickel wrote: > > --047d7b86df668d6bd104f017b781 > > Content-Type: text/plain; charset=UTF-8 > > > > request.exception is cleared by the exception view which happens before > the > > finished callbacks. I think you could probably consider this behavior a > > bug. I've opened https://github.com/Pylons/pyramid/issues/1223 for you. > > Thanks, i'll follow... > > The prefered way is to use a tween to handle db connection ? > > -- > William > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
