Hi,
I have a Remix app successfully deployed to Cloudflare Pages without issue. The app is running, working, no problem.
However, if I throw an exception for any reason, and don't handle it, I get a server error. That's expected.
What is not expected is that the logs in Cloudflare is empty. That is, if I do a try/catch and console.error my exception, that shows up fine (and the app runs successfully). But if I let the exception bubbles up, there's a server error, and the log entry is empty. The "exceptions" array in the logs on the Dashboard is an empty array, and exceptions don't show up when tailing the log through wrangler.
Is there something special to do for exceptions to be properly handled? I tried throwing the exceptions in a vanilla handler to rule out Remix and I still get the same behavior.