Add failure messages for debugging