You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/config-yaml/src/load/unroll.ts
+6
Original file line number
Diff line number
Diff line change
@@ -346,6 +346,12 @@ export async function resolveBlock(
346
346
// Retrieve block raw yaml
347
347
constrawYaml=awaitregistry.getContent(fullSlug);
348
348
349
+
if(rawYaml===undefined){
350
+
thrownewError(
351
+
`Block ${fullSlug.ownerSlug}/${fullSlug.packageSlug} not found`,
352
+
);
353
+
}
354
+
349
355
// Convert any input secrets to FQSNs (they get FQSNs as if they are in the block. This is so that we know when to use models add-on / free trial secrets)
0 commit comments