diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 6f6f341d..96847579 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -278,7 +278,7 @@ public: return; } - try + SPDLOG_TRY { memory_buf_t buf; details::os::wstr_to_utf8buf(msg, buf);