First stab at a solution
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / View / Dump.pm
index afbc0eb..43cc976 100644 (file)
@@ -39,6 +39,10 @@ sub process {
     # Remove context from reference if needed
     my $context = delete $reference->{_context};
 
+    if (my $log = $reference->{_log}) {
+        $log->clear_psgienv if $log->can('psgienv');
+    }
+
     if ( my $output =
         $self->dump( $reference, $purity ) )
     {