Unverified Commit 47cbf382 authored by Kelvin Hu's avatar Kelvin Hu Committed by GitHub

fix compiling error and typo

parent 46d41816
......@@ -22,7 +22,7 @@ namespace spdlog {
namespace sinks {
/*
* Generator of Houlry log file names in format basename.YYYY-MM-DD-HH.ext
* Generator of Hourly log file names in format basename.YYYY-MM-DD-HH.ext
*/
struct hourly_filename_calculator
{
......@@ -156,7 +156,7 @@ private:
if (!ok)
{
filenames_q_.push_back(std::move(current_file));
throw_spdlog_ex("Failed removing hourly file " + filename_to_str(old_filename), errno);
SPDLOG_THROW(spdlog_ex("Failed removing hourly file " + filename_to_str(old_filename), errno));
}
}
filenames_q_.push_back(std::move(current_file));
......
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