method not found now returns the name of the method and package
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 7 Jul 2005 16:19:37 +0000 (16:19 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 7 Jul 2005 16:19:37 +0000 (16:19 +0000)
that is supposed to implement it

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@383 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index 5c6b48b..e08b4cb 100644 (file)
@@ -100,7 +100,8 @@ sub handler {
                my $coderef = $app->method_lookup( $method_name, $method_proto, 1, 1 );
 
                unless ($coderef) {
-                       $session->status( OpenSRF::DomainObject::oilsMethodException->new() );
+                       $session->status( OpenSRF::DomainObject::oilsMethodException->new( 
+                                               status => "Method [$method_name] not found for $app"));
                        return 1;
                }