From 34d157503e897a1cda509816de648d9c406acc31 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 20 Apr 2005 20:46:57 +0000 Subject: [PATCH] just letting the exceptions stringify git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@287 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/Transport.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/perlmods/OpenSRF/Transport.pm b/src/perlmods/OpenSRF/Transport.pm index f9b5a4c..5c4afa5 100644 --- a/src/perlmods/OpenSRF/Transport.pm +++ b/src/perlmods/OpenSRF/Transport.pm @@ -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; -- 2.11.0