exception handling on citysalrecords.rb