Fix result handling of module:handle_error/3
Merge pull request #23 from stwind/master

Fix result handling of module:handle_error/3