mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-08-28 04:53:20 +00:00
check fix
This commit is contained in:
@@ -66,12 +66,9 @@ void warn(const std::string& toPrint){
|
||||
addToLog(Print);
|
||||
}
|
||||
void error(const std::string& toPrint) {
|
||||
static int ECounter = 0;
|
||||
std::string Print = getDate() + Sec("[ERROR] ") + toPrint + "\n";
|
||||
std::cout << Print;
|
||||
addToLog(Print);
|
||||
if(ECounter > 10)exit(7);
|
||||
ECounter++;
|
||||
}
|
||||
void except(const std::string& toPrint) {
|
||||
std::string Print = getDate() + Sec("[EXCEP] ") + toPrint + "\n";
|
||||
|
||||
Reference in New Issue
Block a user