Fixes error handling in getBody() and process()
Merge pull request #54 from nsendetzky/master

Fixes error handling in getBody() and process()