Change error to a warning