Adding db.rollback if an exception is caught at the end of a transaction.
Deploying at RHUL (production) to see if it alleviates the occasional (but currently unreproducible) problems that throw an untrapped 500 and report an invalid transaction in the heroku logs that needs rolling back.
Adding db.rollback if an exception is caught at the end of a transaction. Deploying at RHUL (production) to see if it alleviates the occasional (but currently unreproducible) problems that throw an untrapped 500 and report an invalid transaction in the heroku logs that needs rolling back.