diff --git a/Message/Queue.pm b/Message/Queue.pm index b804946..c914a08 100644 --- a/Message/Queue.pm +++ b/Message/Queue.pm @@ -370,7 +370,7 @@ sub deliver_queue { $self -> update_status($message -> {"id"}, $transport -> {"id"}, $sent ? "sent" : "failed", - $sent ? undef : $transport -> {"errstr"}) + $sent ? undef : $transport -> {"module"} -> {"errstr"}) or return undef; } }