src/main.cpp
@@ -1,7 +1,14 @@ #include "Server.h" #include <iostream> #include <glog/logging.h> int main() { Server server; server.run(); try { LOG(INFO) << "Starting up server..."; Server server; server.run(); } catch (const std::exception& e) { LOG(FATAL) << "Exception: " << e.what(); } return 0; } }