diff options
author | cjihrig <cjihrig@gmail.com> | 2018-11-04 10:04:49 -0500 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-12-03 13:33:02 -0500 |
commit | 80ab31eb49692e7cf101a72741b287c3e0d7ea91 (patch) | |
tree | ba7fcf30a6c160a8dcf4e6b43b2e88a2a1686c72 | |
parent | d79d978cd837c9f970d020b31da26f2a2813519d (diff) | |
download | node-new-80ab31eb49692e7cf101a72741b287c3e0d7ea91.tar.gz |
v8_prof_polyfill: 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>
-rw-r--r-- | lib/internal/v8_prof_polyfill.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/v8_prof_polyfill.js b/lib/internal/v8_prof_polyfill.js index 43ccc0e5d8..59e1b8947e 100644 --- a/lib/internal/v8_prof_polyfill.js +++ b/lib/internal/v8_prof_polyfill.js @@ -140,7 +140,7 @@ function macCppfiltNm(out) { filtered = cp.spawnSync('c++filt', [ '-p' , '-i' ], { input: entries.join('\n') }).stdout.toString(); - } catch (e) { + } catch { return out; } |