fix: db 연결 실패 시 종료되게 수정

This commit is contained in:
bumpsoo 2026-02-05 11:30:05 +00:00
parent 37c751cb8f
commit 1e922ca3e8

View file

@ -15,7 +15,8 @@ int main() {
if (!DatabaseManager::GetInstance().Init(main_context, "127.0.0.1", 33306,
"root", "root_password",
"socket_server")) {
Logger::Log("경고: 초기 DB 연결에 실패했습니다. (서버는 계속 실행됨)");
Logger::Log("DB 연결에 실패했습니다.");
return 1;
}
NetworkService server(port, threadCount);