Issue 2934 improve what happens when a bundle fails to publish