This commit is contained in:
atorop
2024-11-02 10:45:48 +03:00
parent dc63404ab5
commit 8f6d843813

View File

@@ -311,7 +311,7 @@ function createAction(action, keyboard, status){
} }
}); });
}catch(e){ }catch(e){
fs.appendFileSync(dir + "/logs/logs.txt", e.stack); fs.appendFileSync(dir + "/logs/logs.txt", e.stack + "\n\n");
} }
} }
@@ -436,7 +436,7 @@ bot.launch();
counter = 0; counter = 0;
} }
}catch(e){ }catch(e){
fs.appendFileSync(dir + "/logs/logs.txt", e.stack); fs.appendFileSync(dir + "/logs/logs.txt", e.stack + "\n\n");
} }
await sleep(10000); await sleep(10000);
counter++; counter++;