Yes, you could check for the presence of body before looking for error, that'd be fine