Since the cf-resource uses a zero-downtime deploy, if the deploy of app fails, then it's deleted and replaced with app-venerable meaning you can't call cf logs --recent on the failed app deployment. The resource should grab that log before it deletes the app.
Since the cf-resource uses a zero-downtime deploy, if the deploy of
app
fails, then it's deleted and replaced withapp-venerable
meaning you can't callcf logs --recent
on the failed app deployment. The resource should grab that log before it deletes the app.