Sentry: move welcome message to after version print

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 739eaad199
commit 2774a73d83
1 file changed
+2 -1
+2 -1
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));