Skip Menu |

This queue is for tickets about the IP-Info CPAN distribution.

Report information
The Basics
Id: 82365
Status: resolved
Estimated: 2 hours (120 min)
Worked: 4 hours (240 min)
Priority: 0/
Queue: IP-Info

People
Owner: MANWAR [...] cpan.org
Requestors: andr [...] arkhipova.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: 0.06



Subject: crash?
Date: Wed, 2 Jan 2013 19:28:36 +0100
To: bug-IP-Info [...] rt.cpan.org
From: Andrei Arkhipov <andr [...] arkhipova.com>
crash? Dear Sir,

At some points I receive messages similar to:

ERROR: Couldn't fetch data [http://api.quova.com/v1/ipinfo/79.130.69.51?apikey=my_key&amp;sig=my_sig&amp;format=xml]:[403 Forbidden] at Parser.pl line 103.

Is there any way to catch such exception so that program would not just stop?

Thank you,

Andrei.
Hi Andrei, Thanks for reporting the crash. I agree with your suggestion of catching HTTP error and pass on to the client. I would do my best to patch the code by end of this weekend. Hopefully on Monday i.e. 7th Jan'2013, you should have the code ready to use. Thanks for using the module. Best Regards, Mohammad S Anwar
Hi Andrei, As promised the patch has been uploaded to CPAN. Please refer to IP::Info v0.06. Best Regards, Mohammad S Anwar
Subject: Re: [rt.cpan.org #82365] crash?
Date: Sun, 6 Jan 2013 13:21:43 +0100
To: Mohammad Sajid Anwar via RT <bug-IP-Info [...] rt.cpan.org>
From: Andrei Arkhipov <andr [...] arkhipova.com>
Re: [rt.cpan.org #82365] crash? Many thanks!

Andrei.

------ Original message -------
From: Mohammad Sajid Anwar via RT <
bug-IP-Info@rt.cpan.org>
To: 
andr@arkhipova.com
Date: Saturday, January 5, 2013, 12:09:21
Subject: [rt.cpan.org #82365] crash?

> <URL: 
https://rt.cpan.org/Ticket/Display.html?id=82365 >

Show quoted text
> Hi Andrei,

Show quoted text
> As promised the patch has been uploaded to CPAN. Please refer to
> IP::Info v0.06.

Show quoted text
> Best Regards,
> Mohammad S Anwar
Closing the ticket for now as patch has been acknowledged.