Log exception if metadata was'n loaded.

This commit is contained in:
Nikolai Kochetov 2018-12-05 16:13:41 +03:00
parent 5149f35167
commit b6d7871a54

View File

@ -388,7 +388,7 @@ int Server::main(const std::vector<std::string> & /*args*/)
}
catch (...)
{
LOG_ERROR(log, "Caught exception while loading metadata.");
tryLogCurrentException(log, "Caught exception while loading metadata");
throw;
}
LOG_DEBUG(log, "Loaded metadata.");