feature(pipe) getBody: add error handling