include body content with error message in die() on error