Application goes 500 as soon as we start checking logs

Hi! We are deploying a Cloudflare Pages Application, and now (not sure since when, we just realised today while trying to debug an issue in our code) every time we start checking the logs, it starts failing with 500 Internal Server Error.

It happens with both, using the wrangler pages deployment tail or the UI in the Functions section of the deployment and then Real-time Logs -> Begin log stream.

I have tried multiple times, retrying the deployment, and then checking when it starts failing.

Is it happening to anybody else? Any hint on what could it be?

cc @Eusebio Trigo
Was this page helpful?