From 078e60d221d73e7329d0c8a04996b92808d30b8e Mon Sep 17 00:00:00 2001 From: Punith-Mithra Date: Thu, 11 Mar 2021 10:44:34 +0400 Subject: [PATCH] Fix invalid syntax at try catch Observing console errors --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0fd024b..12d90f1 100644 --- a/index.js +++ b/index.js @@ -26,7 +26,7 @@ const pLimit = concurrency => { try { await result; - } catch {} + } catch () {} next(); };