diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 70c79ed5..ce42d69d 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -33,14 +33,7 @@ { \ if(location.filename) \ { \ - try \ - { \ - err_handler_(fmt::format("{} [{}({})]", ex.what(), location.filename, location.line)); \ - } \ - catch (const std::exception &ex) \ - { \ - err_handler_(ex.what()); \ - } \ + err_handler_(fmt::format("{} [{}({})]", ex.what(), location.filename, location.line)); \ } \ else \ { \