Hey all. My queryFn is written in typescript, so it can have runtime errors. When a runtime error ha
Hey all. My queryFn is written in typescript, so it can have runtime errors. When a runtime error happens, react query acts like the http request failed. It didn't fail. There is another runtime error. How can I disable this behavior so that my queryFn's runtime errors can be caught. For example, I want to see runtime errors in my developer console. I want to log production runtime errors to Sentry.
1 Reply
optimistic-goldOP•13mo ago
Maybe I'll try adding a PR to make that an option. Curious if anyone else would want it
Or maybe i'm just doing something wrong.