commit | f4f21c4e1815a00ae11b87a56b5c4b99e4d08ef0 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed Mar 08 14:36:29 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed Mar 08 14:36:29 2023 +0000 |
tree | 234f3bd32d556087d590d3419b164ebb1f8b00c6 | |
parent | d1157318c09ce1401be40d0cee9800aa6a618d4d [diff] [blame] |
Fix all missing await issues (eslint)
diff --git a/src/utils/dualCollector.ts b/src/utils/dualCollector.ts index bf9b0c0..e96ff5d 100644 --- a/src/utils/dualCollector.ts +++ b/src/utils/dualCollector.ts
@@ -32,11 +32,7 @@ time: 300000 }) .on("collect", (m) => { - try { - m.delete(); - } catch (e) { - client.emit("error", e as Error); - } + void m.delete().catch(); resolve(m); }); mes.on("end", () => {