From 7289e75836bc2728d3d9aff2d08166cce5383645 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 16 Apr 2018 16:00:53 +0800 Subject: [PATCH] Udpate --- paddle/fluid/framework/details/threaded_ssa_graph_executor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc index a371ee10fe..43b520b543 100644 --- a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc @@ -204,8 +204,8 @@ void ThreadedSSAGraphExecutor::RunOp( VLOG(10) << op << " " << op->Name() << "Signal posted"; } catch (platform::EnforceNotMet ex) { exception_.reset(new platform::EnforceNotMet(ex)); - } catch (...) { - LOG(FATAL) << "Unknown exception catched"; + } catch (std::exception &exp) { + LOG(FATAL) << exp.what(); } }; if (pool_) { -- GitLab