Commit 78ea362e authored by gabime's avatar gabime

Don't rethrow after catch(...)

parent d51102a1
...@@ -73,7 +73,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *fmt, const Ar ...@@ -73,7 +73,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *fmt, const Ar
catch (...) catch (...)
{ {
_err_handler("Unknown exception in logger " + _name); _err_handler("Unknown exception in logger " + _name);
throw;
} }
} }
...@@ -97,7 +96,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *msg) ...@@ -97,7 +96,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *msg)
catch (...) catch (...)
{ {
_err_handler("Unknown exception in logger " + _name); _err_handler("Unknown exception in logger " + _name);
throw;
} }
} }
...@@ -121,7 +119,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg) ...@@ -121,7 +119,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
catch (...) catch (...)
{ {
_err_handler("Unknown exception in logger " + _name); _err_handler("Unknown exception in logger " + _name);
throw;
} }
} }
......
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