Hacking environment to make sure database errors don't kill apps: