Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.
http://lyften.com/projects/laravel-geoip
BSD 2-Clause "Simplified" License
2.09k stars 372 forks source link

Error handling for GeoIp2\Exception\AddressNotFoundException #13

Closed jonasva closed 9 years ago

jonasva commented 9 years ago

I noticed that when an IP is not in the maxmind database an error is thrown "GeoIp2\Exception\AddressNotFoundException".

Perhaps it's best to catch and log it directly?

jonasva commented 9 years ago

Pull request #14

Torann commented 9 years ago

Added in version 0.2.0 for Laravel 5