explicitly returning STATUS_NOTFOUND when a method is not found
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@609 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Application.pm

index 99346c3..cc3d956 100644 (file)
@@ -99,6 +99,7 @@ sub handler {
 
                unless ($coderef) {
                        $session->status( OpenSRF::DomainObject::oilsMethodException->new( 
+                                               statusCode => STATUS_NOTFOUND(),
                                                status => "Method [$method_name] not found for $app"));
                        return 1;
                }