Fixed crash when request returns undefined body without an error object