| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5a4dcfc commit c9489f2
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -198,7 +198,7 @@ function workerOnGlobalUncaughtException(error, fromPromise) { | |||
| 198 | 198 | ||
| 199 | 199 | let serialized; | |
| 200 | 200 | try { | |
| 201 | - const { serializeError } = require('internal/error-serdes'); | ||
| 201 | + const { serializeError } = require('internal/error_serdes'); | ||
| 202 | 202 | serialized = serializeError(error); | |
| 203 | 203 | } catch {} | |
| 204 | 204 | debug(`[${threadId}] uncaught exception serialized = ${!!serialized}`); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ const { | |||
| 42 | 42 | ReadableWorkerStdio, | |
| 43 | 43 | WritableWorkerStdio | |
| 44 | 44 | } = workerIo; | |
| 45 | - const { deserializeError } = require('internal/error-serdes'); | ||
| 45 | + const { deserializeError } = require('internal/error_serdes'); | ||
| 46 | 46 | const { fileURLToPath, isURLInstance, pathToFileURL } = require('internal/url'); | |
| 47 | 47 | ||
| 48 | 48 | const { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -128,7 +128,7 @@ | |||
| 128 | 128 | 'lib/internal/dtrace.js', | |
| 129 | 129 | 'lib/internal/encoding.js', | |
| 130 | 130 | 'lib/internal/errors.js', | |
| 131 | - 'lib/internal/error-serdes.js', | ||
| 131 | + 'lib/internal/error_serdes.js', | ||
| 132 | 132 | 'lib/internal/event_target.js', | |
| 133 | 133 | 'lib/internal/fixed_queue.js', | |
| 134 | 134 | 'lib/internal/freelist.js', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -98,7 +98,7 @@ if (!common.isMainThread) { | |||
| 98 | 98 | 'NativeModule _stream_readable', | |
| 99 | 99 | 'NativeModule _stream_transform', | |
| 100 | 100 | 'NativeModule _stream_writable', | |
| 101 | - 'NativeModule internal/error-serdes', | ||
| 101 | + 'NativeModule internal/error_serdes', | ||
| 102 | 102 | 'NativeModule internal/process/worker_thread_only', | |
| 103 | 103 | 'NativeModule internal/streams/buffer_list', | |
| 104 | 104 | 'NativeModule internal/streams/destroy', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | require('../common'); | |
| 4 | 4 | const assert = require('assert'); | |
| 5 | 5 | const { ERR_INVALID_ARG_TYPE } = require('internal/errors').codes; | |
| 6 | - const { serializeError, deserializeError } = require('internal/error-serdes'); | ||
| 6 | + const { serializeError, deserializeError } = require('internal/error_serdes'); | ||
| 7 | 7 | ||
| 8 | 8 | function cycle(err) { | |
| 9 | 9 | return deserializeError(serializeError(err)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments