@ricsam/r5d-worker 0.0.65 → 0.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/main.cjs
CHANGED
|
@@ -2395,6 +2395,14 @@ function projectRootFor(projectsRoot, projectId, manifestByProjectId) {
|
|
|
2395
2395
|
return (0, import_managed_paths.managedProjectRoot)(projectsRoot, manifest.checkoutPathSegments);
|
|
2396
2396
|
}
|
|
2397
2397
|
async function startWorker(options) {
|
|
2398
|
+
process.on("uncaughtException", (error) => {
|
|
2399
|
+
process.stderr.write(`[r5d-worker] uncaught exception: ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
2400
|
+
`);
|
|
2401
|
+
});
|
|
2402
|
+
process.on("unhandledRejection", (reason) => {
|
|
2403
|
+
process.stderr.write(`[r5d-worker] unhandled rejection: ${reason instanceof Error ? reason.stack ?? reason.message : String(reason)}
|
|
2404
|
+
`);
|
|
2405
|
+
});
|
|
2398
2406
|
const config = readConfig(options.configPath);
|
|
2399
2407
|
const { baseUrl, token } = resolveCredentials(options, config);
|
|
2400
2408
|
const label = requireValue(options.label, "Missing required --label <label>");
|
package/dist/cjs/package.json
CHANGED
package/dist/mjs/main.mjs
CHANGED
|
@@ -2366,6 +2366,14 @@ function projectRootFor(projectsRoot, projectId, manifestByProjectId) {
|
|
|
2366
2366
|
return managedProjectRoot(projectsRoot, manifest.checkoutPathSegments);
|
|
2367
2367
|
}
|
|
2368
2368
|
async function startWorker(options) {
|
|
2369
|
+
process.on("uncaughtException", (error) => {
|
|
2370
|
+
process.stderr.write(`[r5d-worker] uncaught exception: ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
2371
|
+
`);
|
|
2372
|
+
});
|
|
2373
|
+
process.on("unhandledRejection", (reason) => {
|
|
2374
|
+
process.stderr.write(`[r5d-worker] unhandled rejection: ${reason instanceof Error ? reason.stack ?? reason.message : String(reason)}
|
|
2375
|
+
`);
|
|
2376
|
+
});
|
|
2369
2377
|
const config = readConfig(options.configPath);
|
|
2370
2378
|
const { baseUrl, token } = resolveCredentials(options, config);
|
|
2371
2379
|
const label = requireValue(options.label, "Missing required --label <label>");
|
package/dist/mjs/package.json
CHANGED