Changeset 12775 for source


Ignore:
Timestamp:
Apr 24, 2014, 7:52:37 PM (10 years ago)
Author:
hock@…
Message:

Chord: catch message_not_sent exception and print a warning (instead of crashing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/Chord.cpp

    r12060 r12775  
    161161        return;
    162162   
    163         baseoverlay.send_link( msg, link, system_priority::OVERLAY );
     163    try
     164    {
     165        baseoverlay.send_link( msg, link, system_priority::OVERLAY );
     166    }
     167    catch ( message_not_sent& e )
     168    {
     169        logging_warn("Chord: Could not send message over link " << link
     170                << ": " << e.what());
     171    }
    164172}
    165173
Note: See TracChangeset for help on using the changeset viewer.