@teamscala/service-boot 0.23.316 → 0.23.317
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/package.json
CHANGED
|
@@ -426,11 +426,6 @@ export const taskSyncRouter = {
|
|
|
426
426
|
const ctx = context as Context;
|
|
427
427
|
const prisma = ctx.prisma as Prisma;
|
|
428
428
|
const log = getAppLogger();
|
|
429
|
-
// DIAG: capture the real exception+stack for the pane-with-run 500
|
|
430
|
-
// (oRPC swallows it to a generic 500; the run-link catch is not firing).
|
|
431
|
-
const __diagPane = (input as { lane?: { pane?: string } })?.lane?.pane ?? ctx.headers?.get("x-lane-pane");
|
|
432
|
-
const __diagSession = (input as { lane?: { session?: string } })?.lane?.session ?? ctx.headers?.get("x-lane-session");
|
|
433
|
-
try {
|
|
434
429
|
// The SessionStart hook sends the pane + the CLI's native session id.
|
|
435
430
|
// SESSION is the match key (kind_data.lane.session) — it is unique per
|
|
436
431
|
// CLI session and re-minted each session, so a fresh session cannot find
|
|
@@ -604,14 +599,6 @@ export const taskSyncRouter = {
|
|
|
604
599
|
});
|
|
605
600
|
}
|
|
606
601
|
return { task_id: taskId, created };
|
|
607
|
-
} catch (__diagErr) {
|
|
608
|
-
log.error("[task-sync] bindLane THREW (diag)", {
|
|
609
|
-
pane: __diagPane, session: __diagSession,
|
|
610
|
-
error: __diagErr instanceof Error ? __diagErr.message : String(__diagErr),
|
|
611
|
-
stack: __diagErr instanceof Error ? __diagErr.stack : undefined,
|
|
612
|
-
});
|
|
613
|
-
throw __diagErr;
|
|
614
|
-
}
|
|
615
602
|
}),
|
|
616
603
|
|
|
617
604
|
/**
|