Add some additional logging, to help clarify things.