mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-04 00:47:23 +00:00
added try catch
This commit is contained in:
parent
775e44a68f
commit
3572a188d1
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user