title: How can I prevent Tornado from hanging up on SQLAlchemy transaction errors?
body: <p>I am currently using a SQLAlchemy's <code>scoped_session</code> and calling <code>db.close</code> in <code>on_finish</code> in tornado. Will this cover all if not most errors? I don't want to put every DB transaction in a try/except. My other thought was to create a connection pool. Will that prevent more errors or be simpler?</p>