mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
lib: fix typo in internal/errors.js
PR-URL: https://github.com/nodejs/node/pull/36426 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -438,7 +438,7 @@ function uvException(ctx) {
|
||||
message += ` -> '${dest}'`;
|
||||
}
|
||||
|
||||
// Reducing the limit improves the performance significantly. We do not loose
|
||||
// Reducing the limit improves the performance significantly. We do not lose
|
||||
// the stack frames due to the `captureStackTrace()` function that is called
|
||||
// later.
|
||||
const tmpLimit = Error.stackTraceLimit;
|
||||
@@ -489,7 +489,7 @@ function uvExceptionWithHostPort(err, syscall, address, port) {
|
||||
details = ` ${address}`;
|
||||
}
|
||||
|
||||
// Reducing the limit improves the performance significantly. We do not loose
|
||||
// Reducing the limit improves the performance significantly. We do not lose
|
||||
// the stack frames due to the `captureStackTrace()` function that is called
|
||||
// later.
|
||||
const tmpLimit = Error.stackTraceLimit;
|
||||
@@ -563,7 +563,7 @@ function exceptionWithHostPort(err, syscall, address, port, additional) {
|
||||
details += ` - Local (${additional})`;
|
||||
}
|
||||
|
||||
// Reducing the limit improves the performance significantly. We do not loose
|
||||
// Reducing the limit improves the performance significantly. We do not lose
|
||||
// the stack frames due to the `captureStackTrace()` function that is called
|
||||
// later.
|
||||
const tmpLimit = Error.stackTraceLimit;
|
||||
@@ -608,7 +608,7 @@ function dnsException(code, syscall, hostname) {
|
||||
}
|
||||
}
|
||||
const message = `${syscall} ${code}${hostname ? ` ${hostname}` : ''}`;
|
||||
// Reducing the limit improves the performance significantly. We do not loose
|
||||
// Reducing the limit improves the performance significantly. We do not lose
|
||||
// the stack frames due to the `captureStackTrace()` function that is called
|
||||
// later.
|
||||
const tmpLimit = Error.stackTraceLimit;
|
||||
|
||||
Reference in New Issue
Block a user