Skip to content

Commit

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

0 comments on commit eda8a6e

Please sign in to comment.