Skip to content
Browse files

use (ref $self) not __PACKAGE__!

  • Loading branch information...
1 parent cd42895 commit 651b8a3cdd1b2c443f47ae4b142bd411c174062e @rjbs committed Jul 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Exception/Reporter/Sender/Email.pm
View
2 lib/Exception/Reporter/Sender/Email.pm
@@ -237,7 +237,7 @@ sub _build_email {
From => $self->from_header,
To => $self->to_header,
Subject => String::Truncate::elide("$reporter: $ident", 65),
- 'X-Mailer' => __PACKAGE__,
+ 'X-Mailer' => (ref $self),
'Message-Id' => Email::MessageID->new(user => $internal_arg->{guid})
->in_brackets,
'In-Reply-To'=> Email::MessageID->new(

0 comments on commit 651b8a3

Please sign in to comment.
Something went wrong with that request. Please try again.