doc: change wording in doc/api/domain.md comment
Change the wording to make the language more Inclusive. PR-URL: https://github.com/nodejs/node/pull/38044 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
17a527ec07
commit
2861778ecd
@ -69,7 +69,7 @@ const d = require('domain').create();
|
||||
d.on('error', (er) => {
|
||||
// The error won't crash the process, but what it does is worse!
|
||||
// Though we've prevented abrupt process restarting, we are leaking
|
||||
// resources like crazy if this ever happens.
|
||||
// a lot of resources if this ever happens.
|
||||
// This is no better than process.on('uncaughtException')!
|
||||
console.log(`error, but oh well ${er.message}`);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user