mirror of https://github.com/nodejs/node.git
querystring: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>pull/24079/head
parent
30f58b92ee
commit
ab14ad1f9d
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue