just letting the exceptions stringify
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 20 Apr 2005 20:46:57 +0000 (20:46 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 20 Apr 2005 20:46:57 +0000 (20:46 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@287 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/Transport.pm

index f9b5a4c..5c4afa5 100644 (file)
@@ -171,8 +171,7 @@ sub handler {
 
                                my $e = shift;
                                my $res = OpenSRF::DomainObject::oilsServerError->new();
-                               $res->status( $res->status . "\n" . $e->text );
-                               $logger->error($res->stringify);
+                               $res->status( $res->status . "\n$e");
                                $app_session->status($res) if $res;
                                $app_session->kill_me;
                                return 0;