Wrapped ->getContent() in error catching code.