Include additional logging for loader error

Allows for better logging of this error case.
Fix failing tests
Remove debugging code
Merge pull request #10 from walmartlabs/error-tracking

Include additional logging for loader error