Skip to content

Commit c381d01

Browse files
rwblaireffigies
andcommitted
Update src/schema/associations.ts
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 4033baf commit c381d01

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)