Skip to content

Commit 5cb3dc4

Browse files
rwblaireffigies
andcommitted
Update src/schema/associations.ts
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 7ed01c0 commit 5cb3dc4

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
@@ -172,7 +172,7 @@ export async function buildAssociations(
172172
if (!Array.isArray(file)) {
173173
file = [file]
174174
}
175-
associations[key as keyof Associations] = await load(file, options)
175+
associations[key as keyof Associations] = await load(file, options).catch((e: any) => {})
176176
} else {
177177
const load = associationLookup[key] ?? defaultAssociation
178178
if (Array.isArray(file)) {

0 commit comments

Comments
 (0)