Throw error if create fails
jshint
Remove console.log
Merge pull request #37 from matthew-andrews/more-debug

Throw error if create fails