The error eventually came back to haunt Warwickshire, as they were defeated by 5 runs.