From: Chris W. <la...@us...> - 2005-07-04 14:56:37
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25040 Modified Files: Context.pm Log Message: don't log an error when we cannot find an action by name Index: Context.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Context.pm,v retrieving revision 1.88 retrieving revision 1.89 diff -C2 -d -r1.88 -r1.89 *** Context.pm 29 Mar 2005 16:50:49 -0000 1.88 --- Context.pm 4 Jul 2005 14:56:19 -0000 1.89 *************** *** 388,394 **** my $action_info = $self->lookup_action_info( $action_name ); unless ( $action_info ) { ! my $msg = "No action found for '$action_name'"; ! $log_act->error( $msg ); ! OpenInteract2::Exception->throw( $msg ); } return OpenInteract2::Action->new( $action_info, $props ); --- 388,392 ---- my $action_info = $self->lookup_action_info( $action_name ); unless ( $action_info ) { ! OpenInteract2::Exception->throw( "No action found for '$action_name'" ); } return OpenInteract2::Action->new( $action_info, $props ); |