Diego81 / omnicontacts

A generalized Rack middleware for importing contacts from major email providers.
477 stars 230 forks source link

Fix address nil error #155

Closed swanandp closed 8 years ago

swanandp commented 8 years ago

When gd$street or gd$formattedAddress are empty, then the parser throws up NoMethodError and fails to parse the contacts.

A simple fix is to just check if params are nil.