eldenmoon commented on code in PR #38035: URL: https://github.com/apache/doris/pull/38035#discussion_r1696174472
########## be/src/common/exception.h: ########## @@ -131,3 +131,49 @@ inline const std::string& Exception::to_string() const { } \ } \ } while (0); + +#define HANDLE_EXCEPTION_IF_CATCH_EXCEPTION(stmt, handle_exception) \ Review Comment: why add two macros,only one ok ########## be/src/common/exception.h: ########## @@ -131,3 +131,49 @@ inline const std::string& Exception::to_string() const { } \ } \ } while (0); + +#define HANDLE_EXCEPTION_IF_CATCH_EXCEPTION(stmt, handle_exception) \ Review Comment: why add two macros,only one ok? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org