fix: harden structured configuration comparisons (#467)
* refactor(process): split ownership observation helpers * fix: compare structured configuration canonically * test(conformance): tolerate Markdown line wrapping * refactor: name caught values explicitly
This commit is contained in:
@@ -260,11 +260,11 @@ export const importReferenceSource = async (
|
||||
|
||||
try {
|
||||
return ok(createHistoricalSourceGraph(input));
|
||||
} catch (error) {
|
||||
} catch (cause: unknown) {
|
||||
return err(
|
||||
failure(
|
||||
"parse",
|
||||
error instanceof Error ? error.message : "Graph failed validation",
|
||||
cause instanceof Error ? cause.message : "Graph failed validation",
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user