[libanyevent-rabbitmq-perl] 59/151: More helpful error
Damyan Ivanov
dmn at moszumanska.debian.org
Thu Jan 16 11:03:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to annotated tag debian/1.12-1
in repository libanyevent-rabbitmq-perl.
commit e30432c5f45b17f081bcb0f953262ad31e67a223
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Wed Jul 7 10:11:17 2010 +0100
More helpful error
---
lib/AnyEvent/RabbitMQ.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/AnyEvent/RabbitMQ.pm b/lib/AnyEvent/RabbitMQ.pm
index 98160fe..c5d0d2c 100644
--- a/lib/AnyEvent/RabbitMQ.pm
+++ b/lib/AnyEvent/RabbitMQ.pm
@@ -67,7 +67,7 @@ sub connect {
$args{port},
sub {
my $fh = shift or return $args{on_failure}->(
- 'Error connecting to AMQP Server: ' . $!
+ sprintf('Error connecting to AMQP Server %s:%s: %s', $args{host}, $args{port}, $!)
);
$self->{_handle} = AnyEvent::Handle->new(
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-rabbitmq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list