Fixes #18 - Throw on complete failure instead of exiting the process
Merge pull request #19 from davglass/throw

Fixes #18 - Throw on complete failure instead of exiting the process