From b83985c4d53ecdd1cfd876ef52236d5aa3f512c4 Mon Sep 17 00:00:00 2001 From: Chad Austin Date: Mon, 16 Oct 2017 16:22:25 -0700 Subject: [PATCH] fix typo in invalid log level error message Reviewed By: simpkins Differential Revision: D6068742 fbshipit-source-id: a3b3b7fe4a6da8f250e5b9593f66b9f8a9345136 --- folly/experimental/logging/LogLevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/experimental/logging/LogLevel.cpp b/folly/experimental/logging/LogLevel.cpp index c70ad6ba..1a4d15e1 100644 --- a/folly/experimental/logging/LogLevel.cpp +++ b/folly/experimental/logging/LogLevel.cpp @@ -81,7 +81,7 @@ LogLevel stringToLogLevel(StringPiece name) { auto level = folly::to(lowerName); return static_cast(level); } catch (const std::exception&) { - throw std::range_error("invalid logger name " + name.str()); + throw std::range_error("invalid logger level: " + name.str()); } } -- 2.34.1