From 630697a0cb62c0df039b8fb82db4f299522a3515 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Sun, 18 Apr 2021 11:24:27 -0700 Subject: [PATCH] Ignore UDP connection request errors --- lib/api-functions.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/api-functions.ts b/lib/api-functions.ts index 8ab04bf..200eb66 100644 --- a/lib/api-functions.ts +++ b/lib/api-functions.ts @@ -172,8 +172,12 @@ export async function connectionRequest( ); if (udpProm) { - await udpProm; - return ""; + try { + await udpProm; + return ""; + } catch (err) { + // Ignore + } } return status;