Don't run Flask in debug mode
Handle errors with custom handler
Use auto commit mode to ignore Session handling