blog infra

This commit is contained in:
Emergent Reasons
2025-10-16 06:23:59 +00:00
parent 4740d39105
commit 0841917e09
16 changed files with 2703 additions and 190 deletions
+5 -3
View File
@@ -110,12 +110,14 @@ export class BCMRHttp extends BaseBCMR {
);
// Validate the payload body.
try{
try {
const metadata = MetadataRegistrySchema.parse(await response.json());
return metadata;
} catch(error: unknown) {
throw new Error(`Unable to parse the metadata registry format. Detailed error: ${error}`);
} catch (error: unknown) {
throw new Error(
`Unable to parse the metadata registry format. Detailed error: ${error}`,
);
}
}