From: erickson Date: Thu, 9 Jun 2005 15:23:15 +0000 (+0000) Subject: logging empty data on socket X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0d08108bf588cdf59f4ea02c836ccb3c2ea170f0;p=opensrf%2Fbjwebb.git logging empty data on socket git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@336 9efc2488-bf62-4759-914b-345cdb29e865 --- 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} ) ) {