Subject: | Add a reconnect info message |
Currently Net::Stomp logs errors in connections, but doesn't log a successful reconnect.
I'd also like to replace a 'die' with a 'croak' which is much more useful. Diff for v 0.57:
6c6
< use Carp qw(longmess);
---
Show quoted text
> use Carp qw(croak longmess);
27c27
< die "@etc";
---
Show quoted text> croak "@etc";
92a93
Show quoted text> $self->logger->info("Connected to " . $self->hostname . ':' . $self->port);