added try catch

This commit is contained in:
Anonymous275 2020-12-27 23:21:41 +02:00
parent 775e44a68f
commit 3572a188d1

View File

@ -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());