diff --git a/include/spdlog/sinks/rotating_file_sink-inl.h b/include/spdlog/sinks/rotating_file_sink-inl.h index bc759066..9f9aa47a 100644 --- a/include/spdlog/sinks/rotating_file_sink-inl.h +++ b/include/spdlog/sinks/rotating_file_sink-inl.h @@ -71,8 +71,7 @@ SPDLOG_INLINE filename_t rotating_file_sink::filename() { template SPDLOG_INLINE void rotating_file_sink::rotate_now() { - SPDLOG_TRY { rotate_(); } - SPDLOG_CATCH_STD + rotate_(); } template