diff --git a/index.js b/index.js index 6d8ddef..e948e64 100644 --- a/index.js +++ b/index.js @@ -202,7 +202,7 @@ async function startBot(accountName) { } else { consoleLog(`[${host}] File ${accountPath} does not exist, skipping starting bot for this VPN!`, 'error'); - return Promise.reject(`File ${accountPath} does not exist.`); + return Promise.resolve({ error: `File ${accountPath} does not exist.` }); } }