Fix "Invalid Status Code: [object Object]" message

Being unable to parse the response object (it being circular),
and judging from the rest of the message, pick up statusCode
of response object instead.