explicitly returning STATUS_NOTFOUND when a method is not found
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 9 Dec 2005 16:46:46 +0000 (16:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2304 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/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;
                }