From 52468b33f73b57c060b867173df5c6e1462d4c77 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 4 Nov 2018 10:05:46 -0500 Subject: [PATCH] querystring: remove unused catch bindings PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts Reviewed-By: Wyatt Preul --- lib/querystring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/querystring.js b/lib/querystring.js index 3a4d09bf78e848..7e4ab5e894120d 100644 --- a/lib/querystring.js +++ b/lib/querystring.js @@ -448,7 +448,7 @@ function parse(qs, sep, eq, options) { function decodeStr(s, decoder) { try { return decoder(s); - } catch (e) { + } catch { return QueryString.unescape(s, true); } }