@danypops/papyrus 0.44.7 → 0.44.8
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
|
@@ -42,6 +42,11 @@ export function createPapyrusVehicleRegistry(deps: PapyrusVehicleDeps): VehicleR
|
|
|
42
42
|
version: "1.0.0",
|
|
43
43
|
description: "Papyrus's graph-artifact domains, one honest operation per real action.",
|
|
44
44
|
});
|
|
45
|
+
// An unexpected handler exception's message becomes the classified failure's causeMessage
|
|
46
|
+
// instead of vanishing into an opaque "<op>@N handler failed". Safe here: no Papyrus domain
|
|
47
|
+
// error ever embeds a session_secret or other credential in its message (only a bare
|
|
48
|
+
// session_id, a correlation id, not a secret -- see session-identity-service.ts).
|
|
49
|
+
registry.setExposeHandlerFailureDetails(true);
|
|
45
50
|
registerNotesVehicleOperations(registry, deps.notes, deps.artifacts);
|
|
46
51
|
registerRulesVehicleOperations(registry, deps.artifacts, deps.scopes);
|
|
47
52
|
registerDocsVehicleOperations(registry, deps.artifacts, deps.scopes, deps.authority);
|