- Timestamp:
- 12/09/08 14:56:58 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/CGI-ExceptionManager/branches/he/lib/CGI/ExceptionManager.pm
r26179 r26183 20 20 undef $err_info; 21 21 } else { 22 unless ($stacktrace_required) { 23 require CGI::ExceptionManager::StackTrace; 24 $stacktrace_required = 1; 22 my $st_class = 'CGI::ExceptionManager::StackTrace::' . ($args{stacktrace_class} || 'CGI'); 23 unless ($stacktrace_required->{$st_class}) { 24 (my $s = "$st_class\.pm") =~ s!::!/!g; 25 require $s; 26 $stacktrace_required->{$st_class} = 1; 25 27 } 26 $err_info = CGI::ExceptionManager::StackTrace->new($msg);28 $err_info = $st_class->new($msg); 27 29 } 28 30 die $msg; … … 34 36 }; 35 37 if ($err_info) { 36 $ err_info->output(38 $response = $err_info->output( 37 39 powered_by => $args{powered_by} || __PACKAGE__, 38 40 ($args{renderer} ? (renderer => $args{renderer}) : ())
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)