Add some traces for certain error conditions, since I still don't know how to fix them.