Added check for error status.