Sentry: move welcome message to after version print

This commit is contained in:
Lion Kortlepel
2021-08-10 10:28:21 +02:00
committed by Lion
parent 739eaad199
commit 2774a73d83

View File

@@ -55,11 +55,12 @@ int main(int argc, char** argv) try {
bool Shutdown = false;
Application::RegisterShutdownHandler([&Shutdown] { Shutdown = true; });
Sentry.PrintWelcome();
TServer Server(argc, argv);
TConfig Config;
Sentry.PrintWelcome();
if (Config.Failed()) {
info("Closing in 10 seconds");
std::this_thread::sleep_for(std::chrono::seconds(10));