mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
(no ticket) Propagate exception instead of rethrowing
Client: cpp Patch: Gaurav Singh This closes #1999
This commit is contained in:
parent
baddaa8612
commit
77c4afae16
@ -83,7 +83,7 @@ public:
|
||||
} catch (SystemResourceException& e) {
|
||||
std::cout << "\t\t\tfailed to create " << lix* count + tix << " thread " << e.what()
|
||||
<< std::endl;
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ public:
|
||||
} catch (SystemResourceException& e) {
|
||||
std::cout << "\t\t\tfailed to start " << lix* count + tix << " thread " << e.what()
|
||||
<< std::endl;
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user