Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added error handler for AddressNotFoundException + allow IPv6 #14

Closed
wants to merge 4 commits into from

Conversation

jonasva
Copy link

@jonasva jonasva commented Jan 8, 2015

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?

Additionally allowed ipv6 IP's. City lookup does not work with ipv6 IP's, but country/timezone/continent do work.

@jonasva jonasva changed the title Added error handler for AddressNotFoundException Added error handler for AddressNotFoundException + allow IPv6 Jan 14, 2015
@jonasva jonasva mentioned this pull request Jan 14, 2015
@Torann
Copy link
Owner

Torann commented Feb 15, 2015

Perfect! Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants