From 0d08108bf588cdf59f4ea02c836ccb3c2ea170f0 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 9 Jun 2005 15:23:15 +0000 Subject: [PATCH] logging empty data on socket git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@336 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perlmods/OpenSRF/UnixServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/perlmods/OpenSRF/UnixServer.pm b/src/perlmods/OpenSRF/UnixServer.pm index 9688b82..ce4d93b 100644 --- a/src/perlmods/OpenSRF/UnixServer.pm +++ b/src/perlmods/OpenSRF/UnixServer.pm @@ -72,8 +72,8 @@ sub process_request { if( ! $data or ! defined( $data ) or $data eq "" ) { - throw OpenSRF::EX::Socket( - "Unix child received empty data from socket" ); + $logger->debug("Unix child received empty data from socket", ERROR); + return; } if( ! close( $self->{server}->{client} ) ) { -- 2.11.0