ActiveRecord::getRelation() bugfix

throw was outside catch ;)