Add error checking to body handler.