Skip to content

Commit

Permalink
silence undefined log warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jjn1056 committed Mar 23, 2011
1 parent 4d9fd29 commit 81339a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plack/Middleware/Debug/CatalystLog.pm
Expand Up @@ -23,7 +23,7 @@ sub run {
return sub {
my $res = shift;

my $log = delete $env->{'plack.middleware.catalyst_log'};
my $log = delete $env->{'plack.middleware.catalyst_log'} || 'No Log';
$panel->content("<pre>$log</pre>");
$psgi_env = undef;
};
Expand Down

0 comments on commit 81339a1

Please sign in to comment.