python - How can I prevent Tornado from hanging up on SQLAlchemy transaction errors? -


i using sqlalchemy's scoped_session , calling db.close in on_finish in tornado. cover if not errors? don't want put every db transaction in try/except. other thought create connection pool. prevent more errors or simpler?


Comments

Popular posts from this blog

php - How to modify a menu to show sub-menus -

shopping cart - Page redirect not working PHP -

python - Installing PyDev in eclipse is failed -