From fd3fcb051a22524bfe536872075ab533433877ba Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Fri, 27 Nov 2020 10:13:39 +0800 Subject: [PATCH] fix typo of flag name (#29154) --- paddle/fluid/platform/enforce.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/platform/enforce.h b/paddle/fluid/platform/enforce.h index fb95b439b3..4b9c6efd9f 100644 --- a/paddle/fluid/platform/enforce.h +++ b/paddle/fluid/platform/enforce.h @@ -284,8 +284,8 @@ inline std::string GetErrorSumaryString(StrType&& what, const char* file, // NOTE(chenweihang): if no C++ backtrace, give a hint to tell users // how to show C++ backtrace, this hint only show in 2.0-rc verison, // and will be removed in 2.0 official version - sout << "\n [Hint: If need to show C++ stacktraces, please set " - "`FlAGS_call_stack_level=2`.]"; + sout << "\n [Hint: If you need C++ stacktraces for debugging, please set " + "`FLAGS_call_stack_level=2`.]"; } sout << std::endl; return sout.str(); -- GitLab