throw error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-09-23 22:26:18 +02:00
parent 3d78001edf
commit 71c4299192

View File

@ -31,15 +31,15 @@ module.exports = async (client, apex, app) => {
}),
signal: ac.signal,
keepalive: false,
timeout: 4000
timeout: 3000
}),
json = await response.json()
setImmediate(() => { ac.abort() })
// setImmediate(() => { ac.abort() })
return json
} catch (e) {
setImmediate(() => { ac.abort() })
// setImmediate(() => { ac.abort() })
// console.error(e)
return
throw e
}
},
scanInstance = async instance => {
@ -133,8 +133,7 @@ module.exports = async (client, apex, app) => {
return
}
} catch (e) {
console.error(e)
return
throw e
}
},
scanPart = async function* (instancesall, index) {