Skip to content

Commit

Permalink
mpp task handle pingcap exception (#4102) (#4114)
Browse files Browse the repository at this point in the history
close #4101
  • Loading branch information
ti-chi-bot committed Jun 20, 2022
1 parent 96b6e26 commit a859794
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbms/src/Flash/Mpp/MPPTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ void MPPTask::runImpl()
err_msg = e.displayText();
LOG_ERROR(log, "task running meets error: " << err_msg << " Stack Trace : " << e.getStackTrace().toString());
}
catch (pingcap::Exception & e)
{
err_msg = e.message();
LOG_ERROR(log, "task running meets error: " << err_msg);
}
catch (std::exception & e)
{
err_msg = e.what();
Expand Down

0 comments on commit a859794

Please sign in to comment.