improve deploy failure messages