From: erickson Date: Fri, 9 Dec 2005 16:46:46 +0000 (+0000) Subject: explicitly returning STATUS_NOTFOUND when a method is not found X-Git-Tag: osrf_rel_2_0_1~1264 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=00a0bed5cb6d2e6649f1bfced346024b73f3c28f;p=OpenSRF.git explicitly returning STATUS_NOTFOUND when a method is not found git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@609 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/Application.pm b/src/perlmods/OpenSRF/Application.pm index 99346c3..cc3d956 100644 --- a/src/perlmods/OpenSRF/Application.pm +++ b/src/perlmods/OpenSRF/Application.pm @@ -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; }