Changeset 13674


Ignore:
Timestamp:
05/12/12 12:44:01 (13 years ago)
Author:
tbretz
Message:
It seems there is another thing not handled very well by dim if a server crashes; removed the exception and added proper handling of that case.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimServerList.cc

    r12421 r13674  
    108108            if (v!=fServerList.end())
    109109            {
    110                 stringstream err;
    111                 err << "DimServerList: Server '" << trunc << "' in list not as it ought to be.";
    112                 throw runtime_error(err.str());
     110                RemoveServer(trunc);
     111                fServerList.erase(v);
     112
     113                //stringstream err;
     114                //err << "DimServerList: Server '" << trunc << "' in list not as it ought to be.";
     115                //throw runtime_error(err.str());
    113116            }
    114117
Note: See TracChangeset for help on using the changeset viewer.