Commit 74832885 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 08fe9719
...@@ -223,7 +223,14 @@ async function closer(sig, date) { ...@@ -223,7 +223,14 @@ async function closer(sig, date) {
for (let i = 0; i < accs.length; i++) { for (let i = 0; i < accs.length; i++) {
arr.push(syncAllCloser(accs[i], sig, lastToken)) arr.push(syncAllCloser(accs[i], sig, lastToken))
} }
await Promise.all(arr) try {
await Promise.all(arr)
}
catch (e)
{
}
} }
...@@ -291,7 +298,14 @@ async function adder(sig, date) { ...@@ -291,7 +298,14 @@ async function adder(sig, date) {
if (accs[i].active ===1) if (accs[i].active ===1)
arr.push(syncAdder(accs[i],sig,lastToken)) arr.push(syncAdder(accs[i],sig,lastToken))
} }
Promise.all(arr) try {
Promise.all(arr)
}
catch (e)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment