已合并
【PR】: use Internal error instead inner error #3682
zhanj创建于 7月16日
【PR】: use Internal error instead inner error #3682
已合并
共 1 个文件变更+2-2
| @@ -564,7 +564,7 @@ void ErrorManager::AssembleInnerErrorMessage( | |||
| 564 | break; | 564 | break; |
| 565 | } | 565 | } |
| 566 | } | 566 | } |
| 567 | - err_stream << current_code_print << ": Inner Error!" << std::endl; | 567 | + err_stream << current_code_print << ": Internal error!" << std::endl; |
| 568 | bool print_traceback_once = false; | 568 | bool print_traceback_once = false; |
| 569 | for (auto& item : error_messages) { // Display the first non 8888 error code | 569 | for (auto& item : error_messages) { // Display the first non 8888 error code |
| 570 | if (IsParamCheckErrorId(item.error_id) && IsErrorId) { | 570 | if (IsParamCheckErrorId(item.error_id) && IsErrorId) { |
| @@ -651,7 +651,7 @@ int32_t ErrorManager::OutputErrMessage(int32_t handle) | |||
| 651 | std::string err_msg = GetErrorMessage(); | 651 | std::string err_msg = GetErrorMessage(); |
| 652 | if (err_msg.empty()) { | 652 | if (err_msg.empty()) { |
| 653 | std::stringstream err_stream; | 653 | std::stringstream err_stream; |
| 654 | - err_stream << "E19999: Inner Error!" << std::endl; | 654 | + err_stream << "E19999: Internal error!" << std::endl; |
| 655 | err_stream << " " << "Unknown error occurred. Please check the log." << std::endl; | 655 | err_stream << " " << "Unknown error occurred. Please check the log." << std::endl; |
| 656 | err_msg = err_stream.str(); | 656 | err_msg = err_stream.str(); |
| 657 | } | 657 | } |