Added more logging on failure

Supports opengovernment/ops#160
Supports #422