Reviewed By: tbr-martin
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664886
13f79535-47bb-0310-9956-
ffa450edef68
}
} catch (TTransportException& ttx) {
cerr << "TSimpleServer client died: " << ttx.what() << endl;
+ } catch (TException& tx) {
+ cerr << "TSimpleServer exception: " << tx.what() << endl;
}
iot.first->close();
iot.second->close();
}
} catch (TTransportException& ttx) {
cerr << "TServerTransport died on accept: " << ttx.what() << endl;
+ } catch (TException& tx) {
+ cerr << "Some kind of accept exception: " << tx.what() << endl;
}
// TODO(mcslee): Could this be a timeout case? Or always the real thing?