We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e556d commit 9a27d3aCopy full SHA for 9a27d3a
paddle/fluid/framework/threadpool.h
@@ -67,10 +67,10 @@ class ThreadPool {
67
} catch (platform::EnforceNotMet ex) {
68
return std::unique_ptr<platform::EnforceNotMet>(
69
new platform::EnforceNotMet(ex));
70
- } catch (...) {
71
- LOG(FATAL)
72
- << "Unexpected exception is catched in thread pool. All "
73
- "throwable exception in Fluid should be an EnforceNotMet.";
+ } catch (const std::exception& e) {
+ LOG(FATAL) << "Unexpected exception is catched in thread pool. All "
+ "throwable exception in Fluid should be an EnforceNotMet."
+ << e.what();
74
}
75
return nullptr;
76
});
0 commit comments