better error logging
Merge pull request #17 from hoodiehq/better-error-logging

better error logging