Wrangler upload succeeds, but deployment fails

Is there any way to get logs for a deployment on the CF side? My wrangler deployment is all green, but the deployment itself has a caution icon with a deployment message in the CF UI.
2 Replies
Bruce Lee
Bruce LeeOP11mo ago
I figured it out. I some packages were not being bundled correctly before upload.
Chaika
Chaika11mo ago
Nice! The answer to your question is no, sadly. If your deployment fails on function issues, and you are using wrangler upload, the logs just get swallowed. It's being tracked here: https://github.com/cloudflare/workers-sdk/issues/3966 Only CF can get those logs on their end. Github Integration has no issues showing them though and provides a better experience, if you can, I would use that over Direct Uploadd
GitHub
🐛 BUG: wrangler logs success for pages deploy even with Functions f...
Which Cloudflare product(s) does this pertain to? Wrangler core What version(s) of the tool(s) are you using? 3.8.0 What version of Node are you using? 18.17.1 What operating system are you using? ...
Want results from more Discord servers?
Add your server