Wouldn't it be shorter to set the if statement just after the rescue? to either raise or warn then?