mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-18 14:40:56 +00:00
added try catch
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
|
|||||||
try {
|
try {
|
||||||
LegitimacyCheck();
|
LegitimacyCheck();
|
||||||
}catch (std::exception&e){
|
}catch (std::exception&e){
|
||||||
fatal(e.what());
|
fatal("Main 1 : " + std::string(e.what()));
|
||||||
}
|
}
|
||||||
PreGame(GetGameDir());
|
PreGame(GetGameDir());
|
||||||
InitGame(GetGameDir());
|
InitGame(GetGameDir());
|
||||||
|
|||||||
Reference in New Issue
Block a user