Changeset 1541

Show
Ignore:
Timestamp:
07/20/05 06:02:49 (3 years ago)
Author:
madcat
Message:

Handle all exceptions in UDP data handler - closes #12

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hydranode/hncore/plugins/ed2k/src/serverlist.cpp

    r1501 r1541  
    752752                ); 
    753753        } 
    754 } catch (SocketError &e) { 
    755         logDebug(std::string("Reading from UDP socket: ") + e.what()); 
     754} catch (std::exception &e) { 
     755        logDebug( 
     756                std::string("Error while reading from ED2K ServerUdp socket: ")  
     757                + e.what() 
     758        ); 
    756759} 
    757760MSVC_ONLY(;)