Fix debug message

This commit is contained in:
Christophe Maudoux 2022-01-11 21:59:25 +01:00
parent 87d39aecb6
commit 527a7bda17
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Main running methods file
package Lemonldap::NG::Handler::Main::Run;
our $VERSION = '2.0.12';
our $VERSION = '2.0.14';
package Lemonldap::NG::Handler::Main;
@ -734,10 +734,10 @@ sub sendHeaders {
$class->tsv->{forgeHeaders}->{$vhost}->( $req, $session );
foreach my $h ( sort keys %headers ) {
if ( defined( my $v = $headers{$h} ) ) {
$class->logger->debug("Send header $h with value $v");
$class->logger->debug("Send header '$h' with value '$v'");
}
else {
$class->logger->debug("Send header $h with empty value");
$class->logger->debug("Send header '$h' with an empty value");
}
}
$class->set_header_in( $req, %headers );