matts 2003/03/18 07:20:46
Modified: lib AxKit.pm Log: Change error handling of axkit: uri calls (not sure if this is 100% right, comments welcome) Revision Changes Path 1.43 +6 -3 xml-axkit/lib/AxKit.pm Index: AxKit.pm =================================================================== RCS file: /home/cvs/xml-axkit/lib/AxKit.pm,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- AxKit.pm 12 Mar 2003 18:20:48 -0000 1.42 +++ AxKit.pm 18 Mar 2003 15:20:46 -0000 1.43 @@ -551,8 +551,11 @@ } } else { - # Some other type of exception - $E->throw; + # Some other type of exception - since error + # handling from axkit: uri handling might not be + # great, return the error xml instead of propogating + # the exception + return $E->as_xml($r->filename); } }