Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
use the new interface
Browse files Browse the repository at this point in the history
  • Loading branch information
yuxihu committed May 16, 2019
1 parent 1ac58ba commit 48601d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/engine/threaded_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,7 @@ class ThreadedEngine : public Engine {
callback();
}
} catch (const std::exception& e) {
threaded_opr->opr_exception =
std::make_shared<std::exception_ptr>(std::current_exception());
callback();
callback(&e);
}
if (debug_info) {
LOG(INFO) << "Fin ExecuteOprFn ";
Expand Down

0 comments on commit 48601d8

Please sign in to comment.