This commit is contained in:
gabime
2017-12-22 18:55:19 +02:00
parent 813dcbcf63
commit 4ca6991828
4 changed files with 57 additions and 57 deletions

View File

@@ -98,11 +98,11 @@ inline void spdlog::logger::log(level::level_enum lvl, const char* msg)
{
_err_handler(ex.what());
}
catch (...)
{
_err_handler("Unknown exception in logger " + _name);
throw;
}
catch (...)
{
_err_handler("Unknown exception in logger " + _name);
throw;
}
}
template<typename T>
@@ -119,11 +119,11 @@ inline void spdlog::logger::log(level::level_enum lvl, const T& msg)
{
_err_handler(ex.what());
}
catch (...)
{
_err_handler("Unknown exception in logger " + _name);
throw;
}
catch (...)
{
_err_handler("Unknown exception in logger " + _name);
throw;
}
}