Changeset 24314
- Timestamp:
- 11/19/08 20:28:51 (4 years ago)
- Location:
- lang/perl/NanoA/trunk
- Files:
-
- 2 modified
-
lib/NanoA/DebugScreen.pm (modified) (1 diff)
-
nanoa.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/NanoA/trunk/lib/NanoA/DebugScreen.pm
r24300 r24314 25 25 } 0..$#trace; 26 26 27 +{ message => $msg, trace => \@trace }; 27 output({ message => $msg, trace => \@trace }); 28 exit 0; 28 29 } 29 30 -
lang/perl/NanoA/trunk/nanoa.pl
r24300 r24314 12 12 do { 13 13 local $@; 14 my $err_info;15 14 local $SIG{__DIE__} = sub { 16 die @_ 15 die $_[0] 16 if caller() eq 'Encode'; 17 die $_[0] 17 18 if ref $_[0] eq 'HASH' && $_[0]->{finished}; 18 $err_info =NanoA::DebugScreen::build(@_);19 NanoA::DebugScreen::build(@_); 19 20 }; 20 21 eval { 21 22 NanoA::Dispatch->dispatch(); 22 23 }; 23 if ($@ && $err_info) {24 NanoA::DebugScreen::output($err_info);24 if ($@ && ref $@ eq 'HASH' && $@->{finished}) { 25 # just ignore 25 26 } 26 27 };
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)