This commit is contained in:
parent
8a2747408a
commit
fe94f0d33c
@ -35,10 +35,11 @@ module.exports = async (client, apex, app) => {
|
|||||||
setImmediate(() => clearTimeout(timeout))
|
setImmediate(() => clearTimeout(timeout))
|
||||||
return await response.json()
|
return await response.json()
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return setImmediate(() => {
|
setImmediate(() => {
|
||||||
clearTimeout(timeout)
|
clearTimeout(timeout)
|
||||||
ac.abort()
|
ac.abort()
|
||||||
})
|
})
|
||||||
|
return
|
||||||
// console.error(e)
|
// console.error(e)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user