Permalink
Browse files

stringify exception (RT#34070, Bradley C Bailey)

  • Loading branch information...
chorny committed Oct 4, 2010
1 parent 6315133 commit 2be91050c905e26e851f1dfb2d2acbe4253250bd
Showing with 4 additions and 1 deletion.
  1. +2 −0 Changes
  2. +2 −1 lib/CGI/Application/Plugin/DebugScreen.pm
View
@@ -1,5 +1,7 @@
Revision history for Perl extension CGI::Application::Plugin::DebugScreen.
+ - stringify exception (RT#34070, Bradley C Bailey)
+
0.06 Jan 20 2006
- No code change.
- Version no change and POD was corrected a little.
@@ -175,7 +175,8 @@ sub import {
sub debug_report{
my $self = shift;
- my $desc = shift;
+ my $desc = '' . shift; #stringify
+ #useful in case of exception from CGI::Application::Plugin::TT
my $url = $self->query->url(-path_info=>1,-query=>1);
my $title = ref $self || $self;

0 comments on commit 2be9105

Please sign in to comment.