From: Chad Austin Date: Mon, 16 Oct 2017 23:22:25 +0000 (-0700) Subject: fix typo in invalid log level error message X-Git-Tag: v2017.10.23.00~39 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b83985c4d53ecdd1cfd876ef52236d5aa3f512c4;p=folly.git fix typo in invalid log level error message Reviewed By: simpkins Differential Revision: D6068742 fbshipit-source-id: a3b3b7fe4a6da8f250e5b9593f66b9f8a9345136 --- 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()); } }