Hello,

I attach method commitSafelly: aBlock for session.

It's garanties that when commit block will failed transaction will aborted.

Maybe some analogue already exists?