Added additional checks and logging statements to provide sufficiently m...

...ore detail for error diagnostics. Addresses USERGRID-1555