Skip to content
Snippets Groups Projects
Commit ff4c8ab7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

additional debug statements

parent 54f88b8d
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,7 @@ sub run { ...@@ -120,6 +120,7 @@ sub run {
# process requested action # process requested action
my $action = $parameters{action} || 'home'; my $action = $parameters{action} || 'home';
if ($actions{$action}) { if ($actions{$action}) {
$self->{logger}->debug("Processing action '$action'");
my $method = $actions{$action}; my $method = $actions{$action};
$self->$method(); $self->$method();
} else { } else {
...@@ -155,7 +156,7 @@ sub respond { ...@@ -155,7 +156,7 @@ sub respond {
INCLUDE_PATH => $self->{configuration}->{_}->{templates_dir} . "/web/$lang" INCLUDE_PATH => $self->{configuration}->{_}->{templates_dir} . "/web/$lang"
}); });
my $template; $self->{logger}->debug("Responding with outer template '$in{template}' and inner template '$in{data}->{content}'");
binmode(STDOUT, ":utf8"); binmode(STDOUT, ":utf8");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment