mirror of
https://github.com/stjornleysi/telegram_glpi.git
synced 2026-01-19 21:40:28 +00:00
log fix
This commit is contained in:
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user