mirror of
https://github.com/Redume/Kekkai.git
synced 2025-03-12 19:44:39 +03:00
chore: delete catch error
This commit is contained in:
parent
dd69715f8e
commit
8675fd918f
1 changed files with 3 additions and 4 deletions
|
@ -13,7 +13,7 @@ async function validateSchedule(schedule) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function initialize() {
|
async function initialize() {
|
||||||
await require('../shared/database/src/create_table')();
|
//await require('../shared/database/src/create_table')();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function runTasks() {
|
async function runTasks() {
|
||||||
|
@ -21,6 +21,7 @@ async function runTasks() {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
|
console.log(config['currency']['collecting']['schedule'])
|
||||||
await initialize();
|
await initialize();
|
||||||
await validateSchedule(config['currency']['collecting']['schedule']);
|
await validateSchedule(config['currency']['collecting']['schedule']);
|
||||||
|
|
||||||
|
@ -32,8 +33,6 @@ async function main() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
main().catch((err) => {
|
main();
|
||||||
logger.error('Error in main execution:', err);
|
|
||||||
});
|
|
||||||
|
|
||||||
module.exports = { main };
|
module.exports = { main };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue