Intermittent 500 errors on images when using `generate` on Cloudflare Pages
I'm getting odd, intermittent 500 errors when building and deploying with generate on Cloudflare pages.
I'll run a build, and everything will succeed. I can literally run the exact same same build a second later (using the "retry deployment" option in Cloudflare Pages) and will get 500 errors on certain images.
Here's a screenshot of one deploy, then a second one just a few minutes later with zero code changes which fails.
The error in the log is
17:01:49.088 | [log] [nitro] ├─ /_ipx/w_1056&f_webp/https://xxxxxxxxxxxxxx.xxx/theboxers-(2).png (562ms)
-- | --
17:01:49.088 | │ ├── [500]
17:01:49.088 | │ └── Linked from /articles/page/2
There's no further information about what the actual error is, though.
It does seem to be hitting the error on the same image when it fails, but it also sometimes works fine. The original source image is 147kb, so nothing crazy large.
I'm seeing this kind of behavior across quite a few projects right now and it's causing issues with deployments on all of them.
Is there a way to get more detail about what the actual error is?