Update daily_file_sink.h

This commit is contained in:
Gabi Melman 2019-09-15 21:50:29 +03:00 committed by GitHub
parent fcc6b97f88
commit 68118f4233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ private:
if (!ok)
{
filenames_q_.push_back(std::move(current_file));
throw spdlog_ex("Failed removing daily file " + filename_to_str(old_filename), errno);
SPDLOG_THROW(spdlog_ex("Failed removing daily file " + filename_to_str(old_filename), errno));
}
}
filenames_q_.push_back(std::move(current_file));