Skip Menu |

This queue is for tickets about the Amazon-SQS-Simple CPAN distribution.

Report information
The Basics
Id: 34120
Status: resolved
Priority: 0/
Queue: Amazon-SQS-Simple

People
Owner: swhitaker [...] cpan.org
Requestors: jp [...] theant.co.za
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.7
Fixed in: (no value)



Subject: Amazon error message not returned
_dispatch subroutine tries to get the error message from the 'Errors' hash key, which does not exist. Amazon's error message is then not included in the subsequent die message. A patch to fix this has been attached. Distribution: Amazon-SQS-Simple-0.7 Perl version: v5.8.8 OS: OS X Leopard
Subject: Base.pm-error-response.patch
--- Base.pm 2008-03-15 22:56:15.000000000 +0200 +++ Base.pm.mod 2008-03-15 22:56:02.000000000 +0200 @@ -89,7 +89,7 @@ my $msg; eval { my $href = XMLin($response->content); - $msg = $href->{Errors}{Error}{Message}; + $msg = $href->{Error}{Message}; }; my $error = "ERROR: On calling $params->{Action}: " . $response->status_line;
Resolved in 0.10 release
Make that "resolved in the 1.00 release"