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