Skip to content

Commit

Permalink
mpp task handle pingcap exception (#4102) (#4115)
Browse files Browse the repository at this point in the history
close #4101
  • Loading branch information
ti-chi-bot authored Apr 22, 2022
1 parent 0053753 commit 63676f6
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 @@ -333,6 +333,11 @@ void MPPTask::runImpl()
err_msg = e.displayText();
LOG_FMT_ERROR(log, "task running meets error: {} Stack Trace : {}", err_msg, e.getStackTrace().toString());
}
catch (pingcap::Exception & e)
{
err_msg = e.message();
LOG_FMT_ERROR(log, "task running meets error: {}", err_msg);
}
catch (std::exception & e)
{
err_msg = e.what();
Expand Down

0 comments on commit 63676f6

Please sign in to comment.