Skip to content

Commit 6ef750d

Browse files
rwblaireffigies
andauthored
Update src/schema/associations.ts
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent ac68280 commit 6ef750d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema/associations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export async function buildAssociations(
162162
if (!Array.isArray(file)) {
163163
file = [file]
164164
}
165-
associations[key as keyof Associations] = await load(file, options)
165+
associations[key as keyof Associations] = await load(file, options).catch((e: any) => {})
166166
} else {
167167
const load = associationLookup[key] ?? defaultAssociation
168168
if (Array.isArray(file)) {

0 commit comments

Comments
 (0)