Experiment with better error reporting for publish

[#51518791] - trying to put a better error message in the flash hash

https://www.pivotaltracker.com/story/show/51518791