logging empty data on socket
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 9 Jun 2005 15:23:15 +0000 (15:23 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 9 Jun 2005 15:23:15 +0000 (15:23 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@336 9efc2488-bf62-4759-914b-345cdb29e865

src/perlmods/OpenSRF/UnixServer.pm

index 9688b82..ce4d93b 100644 (file)
@@ -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} ) ) {