SummaryThe ErrorBoundary is triggering on some errors thrown within a try catch block, see screenshot. Should I open a bug for this?
Additional informationNo response ExampleNo response |
Replies: 1 comment 11 replies
|
Darn this is interesting. I was about to say that, most likely, the call you make is async, but having looked at minisearch, everything seems pretty sync to me. Btw, I saw you use a timeout to race your promises, but you could also use This issue is weird though, the error is being swallowed, at least that's what it looks like when inspecting the code. I'd try to make a small reproduction repository, ideally, without minisearch, and only the exact code that triggers this. |

Ok, so yeah:
Important
These patches apply to
developmentmode onlyIn Pages Router
next.js/packages/next/src/client/components/react-dev-overlay/pages/client.ts
Lines 53 to 60 in 3a6fa57
The
nextJsHandleConsoleErroris…