Skip to content

Commit 093c894

Browse files
Add error logging for zod errors
1 parent 3563cfd commit 093c894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/events/hooks.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const OwnerContextQueryOpts = ({
9999
status: 404,
100100
data: {},
101101
dev: 'OwnerContextQueryOpts - 404 Failed to parse data',
102+
error: parsedRes.error,
102103
})
103104
}
104105

@@ -180,6 +181,7 @@ export const RepoContextQueryOpts = ({
180181
status: 404,
181182
data: {},
182183
dev: 'RepoContextQueryOpts - 404 Failed to parse data',
184+
error: parsedRes.error,
183185
})
184186
}
185187

0 commit comments

Comments
 (0)