We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b495a commit 7636912Copy full SHA for 7636912
1 file changed
lib/internal/bootstrap/node.js
@@ -183,7 +183,7 @@
183
{
184
// Install legacy getters on the `util` binding for typechecking.
185
// TODO(addaleax): Turn into a full runtime deprecation.
186
- const { pendingDeprecation } = internalBinding('options').getOptions();
+ const { pendingDeprecation } = process.binding('config');
187
const utilBinding = internalBinding('util');
188
const types = internalBinding('types');
189
for (const name of [
@@ -635,9 +635,7 @@
635
const { kExpandStackSymbol } = NativeModule.require('internal/util');
636
if (typeof er[kExpandStackSymbol] === 'function')
637
er[kExpandStackSymbol]();
638
- } catch {
639
- // Nothing to be done about it at this point.
640
- }
+ } catch (er) {}
641
return false;
642
}
643
0 commit comments