This is development we're talking about, not ops. Make sure your deployment plan includes rollback capability, then let ops do what ops does. Almost never should you encounter a dev issue that needs emergency code pushed in less time than it takes to make a phone call and get someone to remote in.