Don't rethrow after catch(...)

This commit is contained in:
gabime 2018-04-28 23:30:35 +03:00
parent d51102a168
commit 78ea362e27

View File

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