My Remix.run site is erroring with a 500 on Pages (not dev), how do I track down the problem?
I don't see anywhere I can view server logs, so what is the best way to diagnose a HTTP 500 issue?
4 Replies
What's the error page say exactly?
If it's a worker/function exception, you can tail the function's logs
?pages-logs
If you're looking to tail a Pages Function you can do so in the UI here: https://dash.cloudflare.com?to=/:account/pages/view/:pages-project/:pages-deployment/functions
or with Wrangler:
wrangler pages deployment tail [deploymentId/url]
It doesn't say anything. Remix is telling me to handle the error better, so I'm just pushing up an ErrorBoundary function to the root.tsx file.
I feel like it's having problem talking to a worker
Ah cool, that logging command works, thanks @Chaika