已合并
【PR】: remove space before TraceBack #1979
jiming创建于 5月8日
【PR】: remove space before TraceBack #1979
已合并
共 1 个文件变更+2-2
| @@ -562,7 +562,7 @@ void ErrorManager::AssembleInnerErrorMessage(const std::vector<ErrorItem> &error | |||
| 562 | 562 | ||
| 563 | current_code_print = " "; | 563 | current_code_print = " "; |
| 564 | if (!print_traceback_once) { | 564 | if (!print_traceback_once) { |
| 565 | - err_stream << " TraceBack (most recent call last):" << std::endl; | 565 | + err_stream << "TraceBack (most recent call last):" << std::endl; |
| 566 | print_traceback_once = true; | 566 | print_traceback_once = true; |
| 567 | } | 567 | } |
| 568 | } | 568 | } |
| @@ -599,7 +599,7 @@ std::string ErrorManager::GetErrorMessage() { | |||
| 599 | continue; | 599 | continue; |
| 600 | } | 600 | } |
| 601 | if (!print_traceback_once) { | 601 | if (!print_traceback_once) { |
| 602 | - err_stream << " TraceBack (most recent call last):" << std::endl; | 602 | + err_stream << "TraceBack (most recent call last):" << std::endl; |
| 603 | print_traceback_once = true; | 603 | print_traceback_once = true; |
| 604 | } | 604 | } |
| 605 | err_stream << " " << item.error_message << std::endl; | 605 | err_stream << " " << item.error_message << std::endl; |