diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-09-26 02:42:16 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-06-13 09:45:03 +0300 |
commit | 9ad42b766ec780da93723a03c6d6cc231ade0966 (patch) | |
tree | 863d12ae09028c183295dc21036db2a90be5929a /node.gyp | |
parent | ecba1c57b19cd9e74c82265f4d600ba3ec389148 (diff) |
worker: improve error (de)serialization
Rather than passing errors using some sort of string representation,
do a best effort for faithful serialization/deserialization of
uncaught exception objects.
PR-URL: https://github.com/nodejs/node/pull/20876
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ 'lib/internal/constants.js', 'lib/internal/encoding.js', 'lib/internal/errors.js', + 'lib/internal/error-serdes.js', 'lib/internal/fixed_queue.js', 'lib/internal/freelist.js', 'lib/internal/fs/promises.js', |