Skip to content

Commit 81dde1c

Browse files
committed
Don't print an object in the debug log
There is no stringify function on RT::Transaction, so this is causing log entries like: [4044261] [Sat Nov 11 11:30:40 2023] [debug]: Calling SetRecipientDigests for transaction RT::Transaction=HASH(0x563feb2b4fb0), id 44 (lib/RT/Action/SendEmail.pm:693) Let's not have the RT::Transaction=HASH(0x563feb2b4fb0) in there.
1 parent facd301 commit 81dde1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/RT/Action/SendEmail.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ sub SetRTSpecialHeaders {
693693

694694
sub DeferDigestRecipients {
695695
my $self = shift;
696-
$RT::Logger->debug( "Calling SetRecipientDigests for transaction " . $self->TransactionObj . ", id " . $self->TransactionObj->id );
696+
$RT::Logger->debug( "Calling SetRecipientDigests for transaction id " . $self->TransactionObj->id );
697697

698698
# The digest attribute will be an array of notifications that need to
699699
# be sent for this transaction. The array will have the following

0 commit comments

Comments
 (0)