[Temporary] verbose logging

This is to help debug errors where "result" appears to be either `nil`
or an unexpected hash (where result['base'] returns `nil`).

To be reverted once debugging is complete.