[fix] TypeError: Object.defineProperties called on non-object (issue #166)

The original code doesn't really fix the issue #166 .
typeof body is "string", but body.error exist. body is got from request module.