Commit b83985c4 authored by Chad Austin's avatar Chad Austin Committed by Facebook Github Bot

fix typo in invalid log level error message

Reviewed By: simpkins

Differential Revision: D6068742

fbshipit-source-id: a3b3b7fe4a6da8f250e5b9593f66b9f8a9345136
parent 0918ae11
......@@ -81,7 +81,7 @@ LogLevel stringToLogLevel(StringPiece name) {
auto level = folly::to<uint32_t>(lowerName);
return static_cast<LogLevel>(level);
} catch (const std::exception&) {
throw std::range_error("invalid logger name " + name.str());
throw std::range_error("invalid logger level: " + name.str());
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment