Hacking environment to stop database failures killing apps