lib: remove unused 'e' from catch

PR-URL: https://github.com/nodejs/node/pull/23458
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
pull/23459/merge
Matt Holmes 2018-10-12 09:36:21 -07:00 committed by Rich Trott
parent a2392704b2
commit 68b46372a7
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function unescapeBuffer(s, decodeSpaces) {
function qsUnescape(s, decodeSpaces) {
try {
return decodeURIComponent(s);
} catch (e) {
} catch {
return QueryString.unescapeBuffer(s, decodeSpaces).toString();
}
}